mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-06 00:07:56 +01:00
SPIGOT-4446: Legacy rotation methods don't work for wall mounted skulls
By: md_5 <git@md-5.net>
This commit is contained in:
parent
55523cfcfc
commit
c3487bf220
@ -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…
Reference in New Issue
Block a user