@@ -3,7 +3,7 @@
|
||||
@@ -153,6 +153,11 @@
|
||||
IBlockData iblockdata = world.getType(blockposition);
|
||||
|
||||
if (BlockMonsterEggs.j(iblockdata)) {
|
||||
if (BlockMonsterEggs.k(iblockdata)) {
|
||||
+ // CraftBukkit start
|
||||
+ if (org.bukkit.craftbukkit.event.CraftEventFactory.callEntityChangeBlockEvent(this.a, blockposition, BlockMonsterEggs.f(iblockdata.getBlock())).isCancelled()) {
|
||||
+ return;
|
||||
|
||||
Reference in New Issue
Block a user