mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
removed some debug stuff
This commit is contained in:
parent
4f9764dee3
commit
6bbe61591b
2 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue