... Actually push the OfflinePlayer interface!
This commit is contained in:
parent
e1f69e0867
commit
6d3a779894
19
src/main/java/org/bukkit/OfflinePlayer.java
Normal file
19
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();
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user