Merge remote-tracking branch 'origin/master' into mcpe-1.2

This commit is contained in:
Dylan K. Taylor
2017-09-15 15:54:30 +01:00
4 changed files with 11 additions and 11 deletions

View File

@ -223,7 +223,7 @@ class SimpleCommandMap implements CommandMap{
}
public function dispatch(CommandSender $sender, string $commandLine) : bool{
$args = explode(" ", $commandLine);
$args = array_map("stripslashes", str_getcsv($commandLine, " "));
$sentCommandLabel = "";
$target = $this->matchCommand($sentCommandLabel, $args);