mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
small fixes
This commit is contained in:
parent
8b9cdc6307
commit
0e3f78fbf7
5 changed files with 29 additions and 40 deletions
|
|
@ -143,7 +143,7 @@ class EntityAPI{
|
|||
return $output;
|
||||
}
|
||||
|
||||
public function summon(Position $pos, $class, $type, Array $data = []){
|
||||
public function summon(Position $pos, $class, $type, array $data = []){
|
||||
$entity = $this->add($pos->level, $class, $type, [
|
||||
"x" => $pos->x,
|
||||
"y" => $pos->y,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue