From 84e15b6b1a1ca3df2481375edc273c0ae3639fa4 Mon Sep 17 00:00:00 2001 From: SOFe Date: Mon, 3 Oct 2016 00:22:19 +0800 Subject: [PATCH] Remove derp brackets (#8) --- src/pocketmine/nbt/tag/IntArrayTag.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pocketmine/nbt/tag/IntArrayTag.php b/src/pocketmine/nbt/tag/IntArrayTag.php index 5df45c201..a9f2bf5ae 100644 --- a/src/pocketmine/nbt/tag/IntArrayTag.php +++ b/src/pocketmine/nbt/tag/IntArrayTag.php @@ -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 . "}"; } -} \ No newline at end of file +}