From a073295a2c8c56c057058f67c4cf2b3d8ada0bbb Mon Sep 17 00:00:00 2001 From: Aaron Hill Date: Wed, 10 Sep 2014 17:31:08 -0400 Subject: [PATCH] Updated magic values for Skull directions. Minecraft 1.8 switches the representations of east and west. --- src/main/java/org/bukkit/material/Skull.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/bukkit/material/Skull.java b/src/main/java/org/bukkit/material/Skull.java index 6e0d71fafb..b86afde1b5 100644 --- a/src/main/java/org/bukkit/material/Skull.java +++ b/src/main/java/org/bukkit/material/Skull.java @@ -66,7 +66,7 @@ public void setFacingDirection(BlockFace face) { break; case EAST: - data = 0x4; + data = 0x5; break; case SOUTH: @@ -74,7 +74,7 @@ public void setFacingDirection(BlockFace face) { break; case WEST: - data = 0x5; + data = 0x4; } setData((byte) data); @@ -94,10 +94,10 @@ public BlockFace getFacing() { case 0x3: return BlockFace.SOUTH; - case 0x4: + case 0x5: return BlockFace.EAST; - case 0x5: + case 0x4: return BlockFace.WEST; } }