mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
entityapi changed back to previous version(of arkquark)
This commit is contained in:
parent
a479a9ec80
commit
89bd97ab06
1 changed files with 2 additions and 1 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue