Add: player.getCompassTarget

This commit is contained in:
Erik Broes 2011-03-25 21:01:55 +01:00
parent 2275372cb1
commit 48a7ac18da

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