mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-14 07:25:31 +00:00
wtf @sandertv
This commit is contained in:
parent
98f56087de
commit
a74a4b579d
@ -49,7 +49,7 @@ class WrittenBook extends WritableBook{
|
|||||||
* @return int
|
* @return int
|
||||||
*/
|
*/
|
||||||
public function getGeneration() : int{
|
public function getGeneration() : int{
|
||||||
return $this->getNamedTag()->getInt(self::TAG_GENERATION, -1);
|
return $this->getNamedTag()->getInt(self::TAG_GENERATION, self::GENERATION_ORIGINAL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user