mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-19 23:37:45 +00:00
Made /list output similar to PC output
This commit is contained in:
@@ -52,7 +52,8 @@ class ListCommand extends VanillaCommand{
|
||||
}
|
||||
}
|
||||
|
||||
$sender->sendMessage(new TranslationContainer("%commands.players.list " . substr($online, 0, -2), [$onlineCount, $sender->getServer()->getMaxPlayers()]));
|
||||
$sender->sendMessage(new TranslationContainer("commands.players.list", [$onlineCount, $sender->getServer()->getMaxPlayers()]));
|
||||
$sender->sendMessage(substr($online, 0, -2));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user