diff --git a/paper-api/src/main/java/org/bukkit/entity/Player.java b/paper-api/src/main/java/org/bukkit/entity/Player.java index bcb42fb15c..def7315d77 100644 --- a/paper-api/src/main/java/org/bukkit/entity/Player.java +++ b/paper-api/src/main/java/org/bukkit/entity/Player.java @@ -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