removed some debug stuff

This commit is contained in:
GameHerobrine 2023-02-11 21:08:05 +03:00
parent 4f9764dee3
commit 6bbe61591b
2 changed files with 1 additions and 2 deletions

View file

@ -70,7 +70,7 @@ class EntityAPI{
}
elseif(is_numeric($args[1])){//summon <mob> [amount]
$amount = (int) $args[1];
if($amount > 1000){
if($amount > 100){
return "Cannot spawn > 100 mobs";
}
$isBaby = false;

View file

@ -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);
}