13
0
geforkt von Mirrors/Paper

Added getPlayer(String name) to Server

By: Dinnerbone <dinnerbone@dinnerbone.com>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2011-01-03 00:20:09 +00:00
Ursprung 3dc584d5b8
Commit f6873cab82

Datei anzeigen

@ -28,6 +28,16 @@ public interface Server {
*/
public Player[] getOnlinePlayers();
/**
* Gets a player object by the given username
*
* This method may not return objects for offline players
*
* @param name Name to look up
* @return Player if it was found, otherwise null
*/
public Player getPlayer(String name);
/**
* Gets the PluginManager for interfacing with plugins
*