mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-24 18:09:41 -05:00
... Actually push the OfflinePlayer interface!
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
1 parent
498e63dbfa
commit
73b3f6def2
1 file changed
+19
@@ -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