summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-10-27 08:15:24 +1100
committermd_5 <git@md-5.net>2018-10-27 08:15:24 +1100
commit22452b38c85e0102384f663d80cb179916e9477c (patch)
tree328cc3c2187502cfec217876bfba4860aad5eeac /src
parentd0d6ee2829d1d4000685dee2c56f88278571bbc8 (diff)
downloadbukkit-22452b38c85e0102384f663d80cb179916e9477c.tar
bukkit-22452b38c85e0102384f663d80cb179916e9477c.tar.gz
bukkit-22452b38c85e0102384f663d80cb179916e9477c.tar.lz
bukkit-22452b38c85e0102384f663d80cb179916e9477c.tar.xz
bukkit-22452b38c85e0102384f663d80cb179916e9477c.zip
SPIGOT-4446: Legacy rotation methods don't work for wall mounted skulls
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/bukkit/block/Skull.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/org/bukkit/block/Skull.java b/src/main/java/org/bukkit/block/Skull.java
index 92363d33..499a153e 100644
--- a/src/main/java/org/bukkit/block/Skull.java
+++ b/src/main/java/org/bukkit/block/Skull.java
@@ -56,7 +56,8 @@ public interface Skull extends BlockState {
public void setOwningPlayer(OfflinePlayer player);
/**
- * Gets the rotation of the skull in the world
+ * Gets the rotation of the skull in the world (or facing direction if this
+ * is a wall mounted skull).
*
* @return the rotation of the skull
* @deprecated use {@link BlockData}
@@ -65,7 +66,8 @@ public interface Skull extends BlockState {
public BlockFace getRotation();
/**
- * Sets the rotation of the skull in the world
+ * Sets the rotation of the skull in the world (or facing direction if this
+ * is a wall mounted skull).
*
* @param rotation the rotation of the skull
* @deprecated use {@link BlockData}