diff --git a/nms-patches/Entity.patch b/nms-patches/Entity.patch index f31c876847..580ffc4f6f 100644 --- a/nms-patches/Entity.patch +++ b/nms-patches/Entity.patch @@ -214,13 +214,13 @@ + Vehicle vehicle = (Vehicle) this.getBukkitEntity(); + org.bukkit.block.Block bl = this.world.getWorld().getBlockAt(MathHelper.floor(this.locX), MathHelper.floor(this.locY), MathHelper.floor(this.locZ)); + -+ if (vec3d1.x > vec3d.x) { ++ if (vec3d.x > vec3d1.x) { + bl = bl.getRelative(BlockFace.EAST); -+ } else if (vec3d.x < vec3d.x) { ++ } else if (vec3d.x < vec3d1.x) { + bl = bl.getRelative(BlockFace.WEST); -+ } else if (vec3d1.z > vec3d.z) { ++ } else if (vec3d.z > vec3d1.z) { + bl = bl.getRelative(BlockFace.SOUTH); -+ } else if (vec3d1.z < vec3d.z) { ++ } else if (vec3d.z < vec3d1.z) { + bl = bl.getRelative(BlockFace.NORTH); + } +