geforkt von Mirrors/Paper
... Actually push the OfflinePlayer interface!
By: Dinnerbone <dinnerbone@dinnerbone.com>
Dieser Commit ist enthalten in:
Ursprung
498e63dbfa
Commit
73b3f6def2
19
paper-api/src/main/java/org/bukkit/OfflinePlayer.java
Normale Datei
19
paper-api/src/main/java/org/bukkit/OfflinePlayer.java
Normale Datei
@ -0,0 +1,19 @@
|
||||
package org.bukkit;
|
||||
|
||||
import org.bukkit.permissions.ServerOperator;
|
||||
|
||||
public interface OfflinePlayer extends ServerOperator {
|
||||
/**
|
||||
* Checks if this player is currently online
|
||||
*
|
||||
* @return true if they are online
|
||||
*/
|
||||
public boolean isOnline();
|
||||
|
||||
/**
|
||||
* Returns the name of this player
|
||||
*
|
||||
* @return Player name
|
||||
*/
|
||||
public String getName();
|
||||
}
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren