RuntimeBlockMapping: remove unnecessary nullable flag

This commit is contained in:
Dylan K. Taylor
2020-06-17 21:32:51 +01:00
parent 715fca8986
commit 333ed8ed2f
2 changed files with 1 additions and 6 deletions

View File

@ -160,7 +160,7 @@ final class RuntimeBlockMapping{
/**
* @phpstan-return CacheableNbt<\pocketmine\nbt\tag\ListTag>
*/
public function getStartGamePaletteCache() : ?CacheableNbt{
public function getStartGamePaletteCache() : CacheableNbt{
return $this->startGamePaletteCache ?? new CacheableNbt(new ListTag($this->bedrockKnownStates));
}
}