menu
#2822676 Cannot schedule update on garbage entity TheAz928\CustomEnchantment\entity\GuardianEntity

Submitted by PocketMine-MP 3.9.3

General information

Version: 3.9.3
Git commit: 18a1bfe4
Plugin involvement: Indirect
Report date: 2019-09-10 22:28:38 +0000 UTC

System Information

PHP version: 7.2.20
Operating system: linux
System banner: Linux a49d3d0e-913c-4065-8cbc-507bec5a5241 4.4.0-159-generic #187-Ubuntu SMP Thu Aug 1 16:28:06 UTC 2019 x86_64

Error information

Warning: the CustomEnchantment plugin was indirectly involved in this crash. This may be a false positive. Please contact the plugin author before opening a bug ticket.
Message: Cannot schedule update on garbage entity TheAz928\CustomEnchantment\entity\GuardianEntity
File: src/pocketmine/entity/Entity
Line: #1494
Error level: InvalidStateException
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
		$this->timings->stopTiming();

//if($this->isStatic())
return ($hasUpdate or $this->hasMovementUpdate());
//return !($this instanceof Player);
}

final public function scheduleUpdate() : void{
if($this->closed){
throw new \InvalidStateException("Cannot schedule update on garbage entity " . get_class($this));
}
$this->level->updateEntities[$this->id] = $this;
}

public function onNearbyBlockChange() : void{
$this->setForceMovementUpdate();
$this->scheduleUpdate();
}

/**
#0 src/pocketmine/entity/Entity(2099): pocketmine\entity\Entity->scheduleUpdate()
#1 plugins/CustomEnchantment_v1.0.4.phar/src/TheAz928/CustomEnchantment/entity/GuardianEntity(64): pocketmine\entity\Entity->flagForDespawn()
#2 src/pocketmine/scheduler/TaskHandler(159): [email protected]�phar:///home/container/plugins/CustomEnchantment_v1.0.4.phar/src/TheAz928/CustomEnchantment/entity/GuardianEntity.php0x7f7dd11c561f->onRun(integer 11643)
#3 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 11643)
#4 src/pocketmine/plugin/PluginManager(689): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 11643)
#5 src/pocketmine/Server(2569): pocketmine\plugin\PluginManager->tickSchedulers(integer 11643)
#6 src/pocketmine/Server(2345): pocketmine\Server->tick()
#7 src/pocketmine/Server(2205): pocketmine\Server->tickProcessor()
#8 src/pocketmine/Server(1784): pocketmine\Server->start()
#9 src/pocketmine/PocketMine(275): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
#10 src/pocketmine/PocketMine(299): pocketmine\server()
#11 (1): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show