mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-19 23:37:45 +00:00
Fixed #3557
This commit is contained in:
@@ -44,6 +44,7 @@ class TeleportCommand extends VanillaCommand{
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$args = array_filter($args);
|
||||||
if(count($args) < 1 or count($args) > 6){
|
if(count($args) < 1 or count($args) > 6){
|
||||||
$sender->sendMessage(new TranslationContainer("commands.generic.usage", [$this->usageMessage]));
|
$sender->sendMessage(new TranslationContainer("commands.generic.usage", [$this->usageMessage]));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user