mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
TitleCommand: fix off-by-one bug in "times" subcommand
This commit is contained in:
parent
d34f3f1af3
commit
658786f2f6
@ -82,7 +82,7 @@ class TitleCommand extends VanillaCommand{
|
||||
$player->addActionBarMessage(implode(" ", array_slice($args, 2)));
|
||||
break;
|
||||
case "times":
|
||||
if(count($args) < 4){
|
||||
if(count($args) < 5){
|
||||
throw new InvalidCommandSyntaxException();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user