diff --git a/src/pocketmine/nbt/tag/LongTag.php b/src/pocketmine/nbt/tag/LongTag.php index 25e13582d..c10d05e3d 100644 --- a/src/pocketmine/nbt/tag/LongTag.php +++ b/src/pocketmine/nbt/tag/LongTag.php @@ -50,4 +50,11 @@ class LongTag extends NamedTag{ public function write(NBT $nbt, bool $network = false){ $nbt->putLong($this->value, $network); } + + /** + * @return int + */ + public function &getValue() : int{ + return parent::getValue(); + } } \ No newline at end of file