mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 08:17:34 +00:00
Server: removed reference to nonexistent API method
This commit is contained in:
parent
7bcc663b60
commit
b74c092d9b
@ -610,8 +610,8 @@ class Server{
|
||||
|
||||
/**
|
||||
* @deprecated This method's results are unpredictable. The string "Steve" will return the player named "SteveJobs",
|
||||
* until another player named "Steve" joins the server, at which point it will return that player instead. Use
|
||||
* {@link Server::getPlayersByPrefix()} instead.
|
||||
* until another player named "SteveJ" joins the server, at which point it will return that player instead. Prefer
|
||||
* filtering the results of {@link Server::getOnlinePlayers()} yourself.
|
||||
*
|
||||
* Returns an online player whose name begins with or equals the given string (case insensitive).
|
||||
* The closest match will be returned, or null if there are no online matches.
|
||||
|
Loading…
x
Reference in New Issue
Block a user