mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-17 19:50:18 +00:00
CommandSender: export getLanguage()
this currently serves as a proxy to the server main language, but it can be used by third party implementations to choose a non-Server language.
This commit is contained in:
@@ -768,7 +768,7 @@ class NetworkSession{
|
||||
|
||||
$data = new CommandData(
|
||||
$lname, //TODO: commands containing uppercase letters in the name crash 1.9.0 client
|
||||
$this->server->getLanguage()->translateString($command->getDescription()),
|
||||
$this->player->getLanguage()->translateString($command->getDescription()),
|
||||
0,
|
||||
0,
|
||||
$aliasObj,
|
||||
|
Reference in New Issue
Block a user