entityapi changed back to previous version(of arkquark)

This commit is contained in:
GameHerobrine 2022-10-20 23:22:37 +03:00
parent a479a9ec80
commit 89bd97ab06

View file

@ -84,10 +84,11 @@ class EntityAPI{
}
for($cnt = $amount; $cnt > 0; --$cnt){
$this->summon($pos, ENTITY_MOB, $type, $isBaby === 1 ? ["IsBaby" => 1] : []);
}
$output .= "$amount".($isBaby === 1 ? " Baby" : "")." $mobName".(($type !== 13 || $amount > 1) ? "s" : "")." spawned in $x, $y, $z.";
$output .= "$amount ".($isBaby === 1 ? "Baby" : "")." $mobName".(($type !== 13 || $amount > 1) ? "s" : "")." spawned in $x, $y, $z.";
break;
}
elseif(strtolower($args[1]) == 'baby'){//summon <mob> [baby]