summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntitySilverfish.patch
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2017-05-30 21:25:59 +1000
committermd_5 <git@md-5.net>2017-05-30 21:55:13 +1000
commite13d1196863d5dcfea3d17b79238427dfb2c61b2 (patch)
tree56220ee8c2b98066fddfce1f7239a6f3e6261187 /nms-patches/EntitySilverfish.patch
parentc155d8dd32556a197ab73c437760e6194ae4e04a (diff)
downloadcraftbukkit-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.patch2
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;