mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Paginated help command
This commit is contained in:
parent
4a9374a58c
commit
5e44ecf63b
2 changed files with 26 additions and 10 deletions
|
|
@ -90,7 +90,7 @@ class BanAPI{
|
|||
$output = "";
|
||||
switch($cmd){
|
||||
case "sudo":
|
||||
$target = strtolower($params[0]);
|
||||
$target = strtolower(array_shift($params));
|
||||
$player = $this->server->api->player->get($target);
|
||||
if(!($player instanceof Player)){
|
||||
$output .= "Player not connected.\n";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue