mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-21 19:04:15 +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){
|
public function read(NBT $nbt){
|
||||||
[];
|
|
||||||
$size = $nbt->getInt();
|
$size = $nbt->getInt();
|
||||||
$this->value = array_values(unpack($nbt->endianness === NBT::LITTLE_ENDIAN ? "V*" : "N*", $nbt->get($size * 4)));
|
$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);
|
$str .= implode(", ", $this->value);
|
||||||
return $str . "}";
|
return $str . "}";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user