summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/net/minecraft/server')
-rw-r--r--src/main/java/net/minecraft/server/BlockFlowing.java2
-rw-r--r--src/main/java/net/minecraft/server/Entity.java8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/net/minecraft/server/BlockFlowing.java b/src/main/java/net/minecraft/server/BlockFlowing.java
index 7a2cea99..1aacf9f9 100644
--- a/src/main/java/net/minecraft/server/BlockFlowing.java
+++ b/src/main/java/net/minecraft/server/BlockFlowing.java
@@ -134,7 +134,7 @@ public class BlockFlowing extends BlockFluids {
}
// CraftBukkit start - all four cardinal directions. Do not change the order!
- BlockFace[] faces = new BlockFace[] { BlockFace.NORTH, BlockFace.SOUTH, BlockFace.EAST, BlockFace.WEST };
+ BlockFace[] faces = new BlockFace[] { BlockFace.WEST, BlockFace.EAST, BlockFace.SOUTH, BlockFace.NORTH };
int index = 0;
for (BlockFace currentFace : faces) {
diff --git a/src/main/java/net/minecraft/server/Entity.java b/src/main/java/net/minecraft/server/Entity.java
index 50d4834c..f14a8335 100644
--- a/src/main/java/net/minecraft/server/Entity.java
+++ b/src/main/java/net/minecraft/server/Entity.java
@@ -634,13 +634,13 @@ public abstract class Entity {
org.bukkit.block.Block block = this.world.getWorld().getBlockAt(MathHelper.floor(this.locX), MathHelper.floor(this.locY - (double) this.height), MathHelper.floor(this.locZ));
if (d6 > d0) {
- block = block.getRelative(BlockFace.SOUTH);
+ block = block.getRelative(BlockFace.EAST);
} else if (d6 < d0) {
- block = block.getRelative(BlockFace.NORTH);
- } else if (d8 > d2) {
block = block.getRelative(BlockFace.WEST);
+ } else if (d8 > d2) {
+ block = block.getRelative(BlockFace.NORTH);
} else if (d8 < d2) {
- block = block.getRelative(BlockFace.EAST);
+ block = block.getRelative(BlockFace.SOUTH);
}
VehicleBlockCollisionEvent event = new VehicleBlockCollisionEvent(vehicle, block);