summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2017-08-24 21:59:07 +1000
committermd_5 <git@md-5.net>2017-08-24 21:59:07 +1000
commitd7663e6aac1387534f5f30f24bccdadacb3ce192 (patch)
tree5a26c582827aa19a2c126701bd1d85e54fe1f8c6
parent08224bb7e0765b34125f2028e3bfbd619f6ea480 (diff)
downloadbukkit-d7663e6aac1387534f5f30f24bccdadacb3ce192.tar
bukkit-d7663e6aac1387534f5f30f24bccdadacb3ce192.tar.gz
bukkit-d7663e6aac1387534f5f30f24bccdadacb3ce192.tar.lz
bukkit-d7663e6aac1387534f5f30f24bccdadacb3ce192.tar.xz
bukkit-d7663e6aac1387534f5f30f24bccdadacb3ce192.zip
SPIGOT-3532: Inverted skull directions
-rw-r--r--src/main/java/org/bukkit/material/Skull.java8
1 files 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 659d9e95..498deb65 100644
--- a/src/main/java/org/bukkit/material/Skull.java
+++ b/src/main/java/org/bukkit/material/Skull.java
@@ -67,7 +67,7 @@ public class Skull extends MaterialData implements Directional {
data = 0x2;
break;
- case EAST:
+ case WEST:
data = 0x4;
break;
@@ -75,7 +75,7 @@ public class Skull extends MaterialData implements Directional {
data = 0x3;
break;
- case WEST:
+ case EAST:
data = 0x5;
}
@@ -97,10 +97,10 @@ public class Skull extends MaterialData implements Directional {
return BlockFace.SOUTH;
case 0x4:
- return BlockFace.EAST;
+ return BlockFace.WEST;
case 0x5:
- return BlockFace.WEST;
+ return BlockFace.EAST;
}
}