summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntitySilverfish.patch
diff options
context:
space:
mode:
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;