summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityShulker.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/EntityShulker.patch')
-rw-r--r--nms-patches/EntityShulker.patch8
1 files changed, 8 insertions, 0 deletions
diff --git a/nms-patches/EntityShulker.patch b/nms-patches/EntityShulker.patch
index 80e651f4..4ccadf23 100644
--- a/nms-patches/EntityShulker.patch
+++ b/nms-patches/EntityShulker.patch
@@ -31,3 +31,11 @@
break;
}
}
+@@ -372,6 +385,7 @@
+ this.locX = (double) blockposition.getX() + 0.5D;
+ this.locY = (double) blockposition.getY();
+ this.locZ = (double) blockposition.getZ() + 0.5D;
++ if (valid) world.entityJoinedWorld(this, false); // CraftBukkit
+ this.lastX = this.locX;
+ this.lastY = this.locY;
+ this.lastZ = this.locZ;