mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-10 17:52:02 -07:00
[Bleeding] Added BlockGrowEvent. Addresses BUKKIT-104
This commit is contained in:
@@ -26,8 +26,7 @@ public class BlockNetherWart extends BlockFlower {
|
||||
BiomeBase biomebase = worldchunkmanager.getBiome(i, k);
|
||||
|
||||
if (biomebase instanceof BiomeHell && random.nextInt(15) == 0) {
|
||||
++l;
|
||||
world.setData(i, j, k, l);
|
||||
org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockGrowEvent(world, i, j, k, this.id, ++l); // CraftBukkit
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user