mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-09 11:31:49 +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",
|
* @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
|
* until another player named "SteveJ" joins the server, at which point it will return that player instead. Prefer
|
||||||
* {@link Server::getPlayersByPrefix()} instead.
|
* filtering the results of {@link Server::getOnlinePlayers()} yourself.
|
||||||
*
|
*
|
||||||
* Returns an online player whose name begins with or equals the given string (case insensitive).
|
* 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.
|
* The closest match will be returned, or null if there are no online matches.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user