wtf @sandertv

This commit is contained in:
Dylan K. Taylor 2019-03-23 12:56:02 +00:00
parent 98f56087de
commit a74a4b579d

View File

@ -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);
}
/**