mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 02:08:21 +00:00
LoginPacketHandler: use playerInfo directly again, fix another 2 PHPStan level 8 errors
This commit is contained in:
@ -485,11 +485,6 @@ parameters:
|
||||
count: 1
|
||||
path: ../../../src/network/mcpe/encryption/PrepareEncryptionTask.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method getUsername\\(\\) on pocketmine\\\\player\\\\PlayerInfo\\|null\\.$#"
|
||||
count: 2
|
||||
path: ../../../src/network/mcpe/handler/LoginPacketHandler.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
|
||||
|
Reference in New Issue
Block a user