diff --git a/paper-api/src/main/java/org/bukkit/OfflinePlayer.java b/paper-api/src/main/java/org/bukkit/OfflinePlayer.java index bec480aff8..1def623ad3 100644 --- a/paper-api/src/main/java/org/bukkit/OfflinePlayer.java +++ b/paper-api/src/main/java/org/bukkit/OfflinePlayer.java @@ -425,4 +425,13 @@ public interface OfflinePlayer extends ServerOperator, AnimalTamer, Configuratio */ @Nullable public Location getLastDeathLocation(); + + /** + * Gets the player's current location. + * + * @return the player's location, {@code null} if player hasn't ever played + * before. + */ + @Nullable + public Location getLocation(); }