summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityWither.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/EntityWither.patch')
-rw-r--r--nms-patches/EntityWither.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/EntityWither.patch b/nms-patches/EntityWither.patch
index 4ba2f41d..3e25bf5b 100644
--- a/nms-patches/EntityWither.patch
+++ b/nms-patches/EntityWither.patch
@@ -60,7 +60,7 @@
if (iblockdata.getMaterial() != Material.AIR && a(block)) {
+ // CraftBukkit start
-+ if (CraftEventFactory.callEntityChangeBlockEvent(this, j2, k2, l2, Blocks.AIR, 0).isCancelled()) {
++ if (CraftEventFactory.callEntityChangeBlockEvent(this, blockposition, Blocks.AIR, 0).isCancelled()) {
+ continue;
+ }
+ // CraftBukkit end