From e13d1196863d5dcfea3d17b79238427dfb2c61b2 Mon Sep 17 00:00:00 2001 From: md_5 Date: Tue, 30 May 2017 21:25:59 +1000 Subject: Update to Minecraft 1.12-pre6 --- nms-patches/EntitySilverfish.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nms-patches/EntitySilverfish.patch') 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; -- cgit v1.2.3