mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-05 16:49:39 +00:00
SPIGOT-4446: Legacy rotation methods don't work for wall mounted skulls
This commit is contained in:
parent
d0d6ee2829
commit
22452b38c8
1 changed files with 4 additions and 2 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Reference in a new issue