mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-04 11:03:43 +01:00 
			
		
		
		
	Fixed a bug where mcMMO didn't flag all blocks as natural appropriately
in some StructureGrowEvent(s)
This commit is contained in:
		@@ -29,10 +29,6 @@ public class WorldListener implements Listener {
 | 
				
			|||||||
        if(WorldBlacklist.isWorldBlacklisted(event.getWorld()))
 | 
					        if(WorldBlacklist.isWorldBlacklisted(event.getWorld()))
 | 
				
			||||||
            return;
 | 
					            return;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (!mcMMO.getPlaceStore().isTrue(event.getLocation().getBlock())) {
 | 
					 | 
				
			||||||
            return;
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        for (BlockState blockState : event.getBlocks()) {
 | 
					        for (BlockState blockState : event.getBlocks()) {
 | 
				
			||||||
            mcMMO.getPlaceStore().setFalse(blockState);
 | 
					            mcMMO.getPlaceStore().setFalse(blockState);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user