diff --git a/src/API/EntityAPI.php b/src/API/EntityAPI.php index 57c04b3b..e6f6e516 100644 --- a/src/API/EntityAPI.php +++ b/src/API/EntityAPI.php @@ -70,7 +70,7 @@ class EntityAPI{ } elseif(is_numeric($args[1])){//summon [amount] $amount = (int) $args[1]; - if($amount > 1000){ + if($amount > 100){ return "Cannot spawn > 100 mobs"; } $isBaby = false; diff --git a/src/Player.php b/src/Player.php index 90cef4fa..e35710d9 100755 --- a/src/Player.php +++ b/src/Player.php @@ -1167,7 +1167,6 @@ class Player{ $this->resendQueue = []; $this->ackQueue = []; $this->server->api->player->remove($this->CID); - console($msg.":".$this->username.":".$this->spawned); if($msg === true and $this->username != "" and $this->spawned !== false){ $this->server->api->chat->broadcast($this->username . " left the game: " . $reason); }