menu
#2580580 Specified skin is not valid, must be 8KiB or 16KiB

Submitted by PocketMine-MP 3.8.2

General information

Version: 3.8.2
Git commit: 5c81da9b
Plugin involvement: Indirect
Report date: 2019-07-11 16:46:58 +0000 UTC

System Information

PHP version: 7.2.2
Operating system: win
System banner: Windows NT DESKTOP-H35I5OQ 10.0 build 17134 (Windows 10) AMD64

Error information

Warning: the Core plugin was indirectly involved in this crash. This may be a false positive. Please contact the plugin author before opening a bug ticket.
Message: Specified skin is not valid, must be 8KiB or 16KiB
File: src/pocketmine/entity/Human
Line: #153
Error level: InvalidStateException
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163

/**
* Sets the human's skin. This will not send any update to viewers, you need to do that manually using
* {@link sendSkin}.
*
* @param Skin $skin
*/
public function setSkin(Skin $skin) : void{
if(!$skin->isValid()){
throw new \InvalidStateException("Specified skin is not valid, must be 8KiB or 16KiB");
}

$this->skin = $skin;
$this->skin->debloatGeometryData();
}

/**
* Sends the human's skin to the specified list of players. If null is given for targets, the skin will be sent to
* all viewers.
*
#0 plugins/Core/src/entity/EntityHandler(66): pocketmine\entity\Human->setSkin(pocketmine\entity\Skin object)
#1 plugins/Core/src/entity/LeaderboardNPC(30): entity\EntityHandler->updateSkins()
#2 src/pocketmine/entity/Entity(1473): entity\LeaderboardNPC->entityBaseTick(integer 1)
#3 src/pocketmine/level/Level(848): pocketmine\entity\Entity->onUpdate(integer 221)
#4 src/pocketmine/level/Level(786): pocketmine\level\Level->actuallyDoTick(integer 221)
#5 src/pocketmine/Server(2434): pocketmine\level\Level->doTick(integer 221)
#6 src/pocketmine/Server(2565): pocketmine\Server->checkTickUpdates(integer 221, double 1562863618.015)
#7 src/pocketmine/Server(2334): pocketmine\Server->tick()
#8 src/pocketmine/Server(2195): pocketmine\Server->tickProcessor()
#9 src/pocketmine/Server(1774): pocketmine\Server->start()
#10 src/pocketmine/PocketMine(266): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string C:\Users\xxnic\Desktop\Server\, string C:\Users\xxnic\Desktop\Server\plugins\)
#11 (1): require(string phar://C:/Users/xxnic/Desktop/Server/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show