Recently some players got an error when joining our server: Code: [08:38:47] [Server thread/CRITICAL]: InvalidArgumentException: "Data should be exactly 16384 bytes, got 12288 bytes" (EXCEPTION) in "src/pocketmine/network/mcpe/protocol/types/SkinImage" at line 42 [08:38:47] [Server thread/CRITICAL]: #0 src/pocketmine/Player(1962): pocketmine\network\mcpe\protocol\types\SkinImage->__construct(integer 64, integer 64, string[12288] ..............................#..(..-../.....1 .)..+..)..+........+..%..........) [08:38:47] [Server thread/CRITICAL]: #1 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(118): pocketmine\Player->handleLogin(object pocketmine\network\mcpe\protocol\LoginPacket) [08:38:47] [Server thread/CRITICAL]: #2 src/pocketmine/network/mcpe/protocol/LoginPacket(145): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleLogin(object pocketmine\network\mcpe\protocol\LoginPacket) [08:38:47] [Server thread/CRITICAL]: #3 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\LoginPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) [08:38:47] [Server thread/CRITICAL]: #4 src/pocketmine/network/mcpe/protocol/BatchPacket(127): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\LoginPacket) [08:38:47] [Server thread/CRITICAL]: #5 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) [08:38:47] [Server thread/CRITICAL]: #6 src/pocketmine/Player(3247): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) [08:38:47] [Server thread/CRITICAL]: #7 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) [08:38:47] [Server thread/CRITICAL]: #8 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[20] 114.125.85.112 40242, object raklib\protocol\EncapsulatedPacket, integer 0) [08:38:47] [Server thread/CRITICAL]: #9 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket() [08:38:47] [Server thread/CRITICAL]: #10 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process() [08:38:47] [Server thread/CRITICAL]: #11 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}() [08:38:47] [Server thread/CRITICAL]: #12 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications() [08:38:47] [Server thread/CRITICAL]: #13 src/pocketmine/Server(2157): pocketmine\snooze\SleeperHandler->sleepUntil(double 1596443927.9694) [08:38:47] [Server thread/CRITICAL]: #14 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor() [08:38:47] [Server thread/CRITICAL]: #15 src/pocketmine/Server(1588): pocketmine\Server->start() [08:38:47] [Server thread/CRITICAL]: #16 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/) [08:38:47] [Server thread/CRITICAL]: #17 src/pocketmine/PocketMine(304): pocketmine\server() [08:38:47] [Server thread/CRITICAL]: #18 (11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php) We haven't installed and configured any plugin recently. What's the problem? How can I fix this? Thanks for the help.
It looks like the player's skin has exceeded something like size. It is possible that he used 4D skin. Try using this pl (I think it might help): https://poggit.pmmp.io/p/RestrictedSkins/1.5.0