menu
#2580524 Argument 1 passed to entity\NPC::setOwnSkin() must be an instance of pocketmine\nbt\tag\CompoundTag, null given

Submitted by PocketMine-MP 3.8.2

General information

Version: 3.8.2
Git commit: 5c81da9b
Plugin involvement: Direct
Report date: 2019-07-11 16:19:56 +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 directly involved in this crash. Please contact the plugin author.
Message: Argument 1 passed to entity\NPC::setOwnSkin() must be an instance of pocketmine\nbt\tag\CompoundTag, null given
File: plugins/Core/src/entity/NPC
Line: #29
Error level: TypeError
20
21
22
23
24
25
26
27
28
29
30
31
32

public function getPlace(): int{
return $this->namedtag->getInt("place");
}

public function setPlayer(string $player): void{
$this->namedtag->setString("name", $player);
}

public function setOwnSkin(CompoundTag $skin): void{
$this->namedtag->setTag($skin);
}
}
#0 plugins/Core/src/entity/EntityHandler(65): entity\NPC->setOwnSkin(NULL )
#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 247)
#4 src/pocketmine/level/Level(786): pocketmine\level\Level->actuallyDoTick(integer 247)
#5 src/pocketmine/Server(2434): pocketmine\level\Level->doTick(integer 247)
#6 src/pocketmine/Server(2565): pocketmine\Server->checkTickUpdates(integer 247, double 1562861996.6333)
#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