diff options
author | md_5 <git@md-5.net> | 2017-05-30 21:25:59 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2017-05-30 21:55:13 +1000 |
commit | e13d1196863d5dcfea3d17b79238427dfb2c61b2 (patch) | |
tree | 56220ee8c2b98066fddfce1f7239a6f3e6261187 /nms-patches/EntitySilverfish.patch | |
parent | c155d8dd32556a197ab73c437760e6194ae4e04a (diff) | |
download | craftbukkit-e13d1196863d5dcfea3d17b79238427dfb2c61b2.tar craftbukkit-e13d1196863d5dcfea3d17b79238427dfb2c61b2.tar.gz craftbukkit-e13d1196863d5dcfea3d17b79238427dfb2c61b2.tar.lz craftbukkit-e13d1196863d5dcfea3d17b79238427dfb2c61b2.tar.xz craftbukkit-e13d1196863d5dcfea3d17b79238427dfb2c61b2.zip |
Update to Minecraft 1.12-pre6
Diffstat (limited to 'nms-patches/EntitySilverfish.patch')
-rw-r--r-- | nms-patches/EntitySilverfish.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/EntitySilverfish.patch b/nms-patches/EntitySilverfish.patch index 8e871c3c..c631fa4c 100644 --- a/nms-patches/EntitySilverfish.patch +++ b/nms-patches/EntitySilverfish.patch @@ -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; |