mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-09 07:20:15 +00:00
RuntimeBlockMapping: remove unnecessary nullable flag
This commit is contained in:
parent
715fca8986
commit
333ed8ed2f
@ -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));
|
||||
}
|
||||
}
|
||||
|
@ -485,11 +485,6 @@ parameters:
|
||||
count: 1
|
||||
path: ../../../src/network/mcpe/encryption/PrepareEncryptionTask.php
|
||||
|
||||
-
|
||||
message: "#^Property pocketmine\\\\network\\\\mcpe\\\\protocol\\\\StartGamePacket\\:\\:\\$blockTable \\(pocketmine\\\\network\\\\mcpe\\\\protocol\\\\types\\\\CacheableNbt\\<pocketmine\\\\nbt\\\\tag\\\\ListTag\\>\\) does not accept pocketmine\\\\network\\\\mcpe\\\\protocol\\\\types\\\\CacheableNbt\\<pocketmine\\\\nbt\\\\tag\\\\ListTag\\>\\|null\\.$#"
|
||||
count: 1
|
||||
path: ../../../src/network/mcpe/handler/PreSpawnPacketHandler.php
|
||||
|
||||
-
|
||||
message: "#^Property pocketmine\\\\network\\\\mcpe\\\\protocol\\\\LevelSoundEventPacket\\:\\:\\$position \\(pocketmine\\\\math\\\\Vector3\\) does not accept pocketmine\\\\math\\\\Vector3\\|null\\.$#"
|
||||
count: 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user