mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 20:23:53 -07:00
... Actually push the OfflinePlayer interface!
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
19
paper-api/src/main/java/org/bukkit/OfflinePlayer.java
Normal file
19
paper-api/src/main/java/org/bukkit/OfflinePlayer.java
Normal file
@@ -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();
|
||||
}
|
Reference in New Issue
Block a user