diff --git a/src/icontrolu/iControlU.php b/src/icontrolu/iControlU.php index b964c65..e6b5f34 100644 --- a/src/icontrolu/iControlU.php +++ b/src/icontrolu/iControlU.php @@ -88,11 +88,11 @@ public function onCommand(CommandSender $sender, Command $cmd, string $label, ar break; } } - } - else{ + }else{ $sender->sendMessage("Please run command in game."); return true; } + return true; } public function onMove(PlayerMoveEvent $event){ if($this->isBarred($event->getPlayer())){