diff options
Diffstat (limited to 'nms-patches/PathfinderGoalSilverfishWakeOthers.patch')
-rw-r--r-- | nms-patches/PathfinderGoalSilverfishWakeOthers.patch | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/nms-patches/PathfinderGoalSilverfishWakeOthers.patch b/nms-patches/PathfinderGoalSilverfishWakeOthers.patch deleted file mode 100644 index 2c9b3c7f..00000000 --- a/nms-patches/PathfinderGoalSilverfishWakeOthers.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- ../work/decompile-8eb82bde//net/minecraft/server/PathfinderGoalSilverfishWakeOthers.java 2014-11-28 17:43:43.309707430 +0000 -+++ src/main/java/net/minecraft/server/PathfinderGoalSilverfishWakeOthers.java 2014-11-28 17:38:22.000000000 +0000 -@@ -36,6 +36,11 @@ - IBlockData iblockdata = world.getType(blockposition1); - - if (iblockdata.getBlock() == Blocks.MONSTER_EGG) { -+ // CraftBukkit start -+ if (org.bukkit.craftbukkit.event.CraftEventFactory.callEntityChangeBlockEvent(this.silverfish, blockposition1.getX(), blockposition1.getY(), blockposition1.getZ(), Blocks.AIR, 0).isCancelled()) { -+ continue; -+ } -+ // CraftBukkit end - if (world.getGameRules().getBoolean("mobGriefing")) { - world.setAir(blockposition1, true); - } else { |