Add: player.getCompassTarget

This commit is contained in:
Erik Broes
2011-03-25 21:01:55 +01:00
parent 5aa266fd8c
commit 8307687916

View File

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