mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 04:05:50 -07:00
SPIGOT-7047: Add Player#getLastDeathLocation
By: Doc <nachito94@msn.com>
This commit is contained in:
@@ -366,4 +366,12 @@ public interface OfflinePlayer extends ServerOperator, AnimalTamer, Configuratio
|
||||
* for the statistic
|
||||
*/
|
||||
public void setStatistic(@NotNull Statistic statistic, @NotNull EntityType entityType, int newValue);
|
||||
|
||||
/**
|
||||
* Gets the player's last death location.
|
||||
*
|
||||
* @return the last death location if it exists, otherwise null.
|
||||
*/
|
||||
@Nullable
|
||||
public Location getLastDeathLocation();
|
||||
}
|
||||
|
Reference in New Issue
Block a user