Add: player.getCompassTarget

By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
Bukkit/Spigot 2011-03-25 21:01:55 +01:00
parent 65e79b2885
commit 022f95b2f1

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