mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 08:17:34 +00:00
TimingsCommand: fixed silence when using a nonexisting subcommand
This commit is contained in:
parent
e32180ce93
commit
88c1014f03
@ -174,6 +174,8 @@ class TimingsCommand extends VanillaCommand{
|
||||
fclose($fileTimings);
|
||||
Command::broadcastCommandMessage($sender, new TranslationContainer("pocketmine.command.timings.timingsWrite", [$timings]));
|
||||
}
|
||||
}else{
|
||||
throw new InvalidCommandSyntaxException();
|
||||
}
|
||||
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user