geforkt von Mirrors/Paper
SPIGOT-6899: Add Player#getPreviousGameMode
By: Doc <nachito94@msn.com>
Dieser Commit ist enthalten in:
Ursprung
ab18a979b8
Commit
b8a1538537
@ -570,6 +570,14 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
|
||||
@Deprecated
|
||||
public void updateInventory();
|
||||
|
||||
/**
|
||||
* Gets this player's previous {@link GameMode}
|
||||
*
|
||||
* @return Previous game mode or null
|
||||
*/
|
||||
@Nullable
|
||||
public GameMode getPreviousGameMode();
|
||||
|
||||
/**
|
||||
* Sets the current time on the player's client. When relative is true the
|
||||
* player's time will be kept synchronized to its world time with the
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren