mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 16:51:42 +00:00
Remove derp brackets (#8)
This commit is contained in:
parent
e9f2bf0085
commit
84e15b6b1a
@ -32,7 +32,6 @@ class IntArrayTag extends NamedTag{
|
||||
}
|
||||
|
||||
public function read(NBT $nbt){
|
||||
[];
|
||||
$size = $nbt->getInt();
|
||||
$this->value = array_values(unpack($nbt->endianness === NBT::LITTLE_ENDIAN ? "V*" : "N*", $nbt->get($size * 4)));
|
||||
}
|
||||
@ -47,4 +46,4 @@ class IntArrayTag extends NamedTag{
|
||||
$str .= implode(", ", $this->value);
|
||||
return $str . "}";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user