diff --git a/patches/server/EntityMoveEvent.patch b/patches/server/EntityMoveEvent.patch index 132394119a..30e1dbaa2b 100644 --- a/patches/server/EntityMoveEvent.patch +++ b/patches/server/EntityMoveEvent.patch @@ -37,7 +37,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 this.pushEntities(); this.level.getProfiler().pop(); + // Paper start -+ if (((ServerLevel) this.level).hasEntityMoveEvent) { ++ if (((ServerLevel) this.level).hasEntityMoveEvent && !(this instanceof net.minecraft.world.entity.player.Player)) { + if (this.xo != getX() || this.yo != this.getY() || this.zo != this.getZ() || this.yRotO != this.getYRot() || this.xRotO != this.getXRot()) { + Location from = new Location(this.level.getWorld(), this.xo, this.yo, this.zo, this.yRotO, this.xRotO); + Location to = new Location (this.level.getWorld(), this.getX(), this.getY(), this.getZ(), this.getYRot(), this.getXRot());