mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 20:28:31 +00:00
Player: deprecate sendTranslation() in favour of sendMessage()
This commit is contained in:
parent
a9e5f92958
commit
566a8a261f
@ -2003,6 +2003,7 @@ class Player extends Human implements CommandSender, ChunkListener, IPlayer{
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @deprecated Use {@link Player::sendMessage()} with a Translatable instead.
|
||||||
* @param string[]|Translatable[] $parameters
|
* @param string[]|Translatable[] $parameters
|
||||||
*/
|
*/
|
||||||
public function sendTranslation(string $message, array $parameters = []) : void{
|
public function sendTranslation(string $message, array $parameters = []) : void{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user