summaryrefslogtreecommitdiffstats
path: root/nms-patches/Entity.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/Entity.patch')
-rw-r--r--nms-patches/Entity.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/nms-patches/Entity.patch b/nms-patches/Entity.patch
index b91ad4b5..11d14050 100644
--- a/nms-patches/Entity.patch
+++ b/nms-patches/Entity.patch
@@ -240,13 +240,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 (d6 > d0) {
++ if (d7 > d0) {
+ bl = bl.getRelative(BlockFace.EAST);
-+ } else if (d6 < d0) {
++ } else if (d7 < d0) {
+ bl = bl.getRelative(BlockFace.WEST);
-+ } else if (d8 > d2) {
++ } else if (d9 > d2) {
+ bl = bl.getRelative(BlockFace.SOUTH);
-+ } else if (d8 < d2) {
++ } else if (d9 < d2) {
+ bl = bl.getRelative(BlockFace.NORTH);
+ }
+