mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-09 11:31:49 +00:00
Added missing getter override for LongTag
adds a return typehint
This commit is contained in:
parent
b524b841c5
commit
489b9fc29b
@ -50,4 +50,11 @@ class LongTag extends NamedTag{
|
|||||||
public function write(NBT $nbt, bool $network = false){
|
public function write(NBT $nbt, bool $network = false){
|
||||||
$nbt->putLong($this->value, $network);
|
$nbt->putLong($this->value, $network);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return int
|
||||||
|
*/
|
||||||
|
public function &getValue() : int{
|
||||||
|
return parent::getValue();
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user