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