mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-05 18:27:17 +01:00
Call BlockGrowEvent for Cocoa plants. Fixes BUKKIT-2525
This commit is contained in:
parent
d74cf36f1c
commit
6e438ccb32
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ public class BlockCocoa extends BlockDirectional {
|
|||
|
||||
if (i1 < 2) {
|
||||
++i1;
|
||||
world.setData(i, j, k, i1 << 2 | e(l));
|
||||
org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockGrowEvent(world, i, j, k, this.id, i1 << 2 | e(l)); // CraftBukkit
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue