SPIGOT-4446: Legacy rotation methods don't work for wall mounted skulls

This commit is contained in:
md_5 2018-10-27 08:15:24 +11:00
parent d0d6ee2829
commit 22452b38c8

View file

@ -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}