menu
#3982624 Tag with name "petOwner" not found and no valid default value given

Submitted by PocketMine-MP 3.11.1

General information

Version: 3.11.1
Git commit: 40a2211a
Plugin involvement: Indirect
Report date: 2020-03-26 11:14:03 +0000 UTC

System Information

PHP version: 7.3.5
Operating system: win
System banner: Windows NT WHATUPTIME-COM 6.3 build 9600 (Windows Server 2012 R2 Datacenter Edition) AMD64

Error information

Warning: the BlockPets plugin was indirectly involved in this crash. This may be a false positive. Please contact the plugin author before opening a bug ticket.
Message: Tag with name "petOwner" not found and no valid default value given
File: vendor/pocketmine/nbt/src/tag/CompoundTag
Line: #189
Error level: RuntimeException
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
	 * @return mixed
*/
public function getTagValue(string $name, string $expectedClass, $default = null, bool $badTagDefault = false){
$tag = $this->getTag($name, $badTagDefault ? NamedTag::class : $expectedClass);
if($tag instanceof $expectedClass){
return $tag->getValue();
}

if($default === null){
throw new \RuntimeException("Tag with name \"$name\" " . ($tag !== null ? "not of expected type" : "not found") . " and no valid default value given");
}

return $default;
}

/*
* The following methods are wrappers around getTagValue() with type safety.
*/

/**
#0 vendor/pocketmine/nbt/src/tag/CompoundTag(284): pocketmine\nbt\tag\CompoundTag->getTagValue(string[8] petOwner, string[28] pocketmine\nbt\tag\StringTag, NULL , boolean )
#1 plugins/BlockPets.phar/src/BlockHorizons/BlockPets/pets/BasePet(110): pocketmine\nbt\tag\CompoundTag->getString(string[8] petOwner)
#2 plugins/BlockPets.phar/src/BlockHorizons/BlockPets/pets/IrasciblePet(28): BlockHorizons\BlockPets\pets\BasePet->__construct(object pocketmine\level\Level, object pocketmine\nbt\tag\CompoundTag)
#3 src/pocketmine/entity/Entity(371): BlockHorizons\BlockPets\pets\IrasciblePet->__construct(object pocketmine\level\Level, object pocketmine\nbt\tag\CompoundTag)
#4 plugins/PureEntitiesX.phar/src/revivalpmmp/pureentities/PureEntities(257): pocketmine\entity\Entity::createEntity(integer 12, object pocketmine\level\Level, object pocketmine\nbt\tag\CompoundTag)
#5 plugins/PureEntitiesX.phar/src/revivalpmmp/pureentities/PureEntities(276): revivalpmmp\pureentities\PureEntities::create(integer 12, object pocketmine\level\Position)
#6 plugins/PureEntitiesX.phar/src/revivalpmmp/pureentities/task/AutoSpawnTask(229): revivalpmmp\pureentities\PureEntities->scheduleCreatureSpawn(object pocketmine\level\Position, integer 12, object pocketmine\level\Level, string[7] passive, boolean )
#7 plugins/PureEntitiesX.phar/src/revivalpmmp/pureentities/task/AutoSpawnTask(274): revivalpmmp\pureentities\task\AutoSpawnTask->spawnPackToLevel(object pocketmine\math\Vector3, integer 12, object pocketmine\level\Level, string[7] passive)
#8 plugins/PureEntitiesX.phar/src/revivalpmmp/pureentities/task/AutoSpawnTask(119): revivalpmmp\pureentities\task\AutoSpawnTask->spawnPassiveMob(object pocketmine\level\format\Chunk, object pocketmine\level\Level)
#9 src/pocketmine/scheduler/TaskHandler(159): revivalpmmp\pureentities\task\AutoSpawnTask->onRun(integer 57301)
#10 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 57301)
#11 src/pocketmine/plugin/PluginManager(682): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 57301)
#12 src/pocketmine/Server(2567): pocketmine\plugin\PluginManager->tickSchedulers(integer 57301)
#13 src/pocketmine/Server(2343): pocketmine\Server->tick()
#14 src/pocketmine/Server(2203): pocketmine\Server->tickProcessor()
#15 src/pocketmine/Server(1785): pocketmine\Server->start()
#16 src/pocketmine/PocketMine(272): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[39] C:\Users\Administrator\Desktop\minehub\, string[47] C:\Users\Administrator\Desktop\minehub\plugins\)
#17 src/pocketmine/PocketMine(295): pocketmine\server()
#18 (1): require(string[94] phar://C:/Users/Administrator/Desktop/minehub/PocketMine-MP.phar/src/pocketmine/)

Loaded Plugins

  • Show

Server Settings

  • Show