Update to Minecraft 1.12-pre6
By: md_5 <git@md-5.net>
This commit is contained in:
parent
f69eb04edc
commit
ea6ca4328a
35 changed files with 297 additions and 260 deletions
|
@ -3,7 +3,7 @@
|
|||
@@ -157,6 +157,11 @@
|
||||
IBlockData iblockdata = world.getType(blockposition);
|
||||
|
||||
if (BlockMonsterEggs.i(iblockdata)) {
|
||||
if (BlockMonsterEggs.x(iblockdata)) {
|
||||
+ // CraftBukkit start
|
||||
+ if (org.bukkit.craftbukkit.event.CraftEventFactory.callEntityChangeBlockEvent(this.a, blockposition, Blocks.MONSTER_EGG, Block.getId(BlockMonsterEggs.getById(iblockdata.getBlock().toLegacyData(iblockdata)))).isCancelled()) {
|
||||
+ return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue