diff --git a/src/specter/Specter.php b/src/specter/Specter.php index f86038e..de775be 100644 --- a/src/specter/Specter.php +++ b/src/specter/Specter.php @@ -30,7 +30,7 @@ public function onCommand(CommandSender $sender, Command $command, $label, array case 'add': case 's': if(isset($args[1])) { - if ($this->getInterface()->openSession($args[1], isset($args[2]) ? $args[2] : "SPECTER")){ + if ($this->getInterface()->openSession($args[1], isset($args[2]) ? $args[2] : "SPECTER", isset($args[3]) ? $args[3] : 19133)){ $sender->sendMessage("Session started."); } else{