Add: player.getCompassTarget
This commit is contained in:
parent
2275372cb1
commit
48a7ac18da
@ -44,6 +44,13 @@ public interface Player extends HumanEntity, CommandSender {
|
||||
*/
|
||||
public void setCompassTarget(Location loc);
|
||||
|
||||
/**
|
||||
* Get the previously set compass target.
|
||||
*
|
||||
* @return location of the target
|
||||
*/
|
||||
public Location getCompassTarget();
|
||||
|
||||
/**
|
||||
* Gets the socket address of this player
|
||||
* @return the player's address
|
||||
|
Loading…
x
Reference in New Issue
Block a user