menu
#7863316 Cannot schedule update on garbage entity pocketmine\entity\projectile\Arrow

Submitted by PocketMine-MP 4.10.0

General information

Version: 4.10.0
Git commit: 0d5287bf
Plugin involvement: None
Report date: 2022-11-24 17:18:55 +0000 UTC
Server uptime: 0 days 0 hours 6 minutes 31 seconds

System Information

PHP version: 8.0.24
JIT status: Disabled
Operating system: win
System banner: Windows NT CZBZCZVV 10.0 build 22000 (Windows 10) AMD64

Error information

Message: Cannot schedule update on garbage entity pocketmine\entity\projectile\Arrow
File: pmsrc/src/entity/Entity
Line: #998
Error level: LogicException
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
		$this->timings->stopTiming();

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

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

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

/**
#0 pmsrc/src/entity/Entity(1535): pocketmine\entity\Entity->scheduleUpdate()
#1 pmsrc/src/entity/projectile/Projectile(311): pocketmine\entity\Entity->flagForDespawn()
#2 pmsrc/src/entity/projectile/Arrow(153): pocketmine\entity\projectile\Projectile->onHitEntity(object pocketmine\player\Player#146669, object pocketmine\math\RayTraceResult#133874)
#3 pmsrc/src/entity/projectile/Projectile(242): pocketmine\entity\projectile\Arrow->onHitEntity(object pocketmine\player\Player#146669, object pocketmine\math\RayTraceResult#133874)
#4 pmsrc/src/entity/Entity(977): pocketmine\entity\projectile\Projectile->move(float -0.0014985893943764, float -2.1010255133428, float -0.0011641514546324)
#5 pmsrc/src/world/World(944): pocketmine\entity\Entity->onUpdate(int 7762)
#6 pmsrc/src/world/World(870): pocketmine\world\World->actuallyDoTick(int 7762)
#7 pmsrc/src/world/WorldManager(348): pocketmine\world\World->doTick(int 7762)
#8 pmsrc/src/Server(1822): pocketmine\world\WorldManager->tick(int 7762)
#9 pmsrc/src/Server(1704): pocketmine\Server->tick()
#10 pmsrc/src/Server(1065): pocketmine\Server->tickProcessor()
#11 pmsrc/src/PocketMine(305): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[22] D:\server\SERVER 1.19\, string[30] D:\server\SERVER 1.19\plugins\)
#12 pmsrc/src/PocketMine(328): pocketmine\server()
#13 pmsrc(11): require(string[66] phar://D:/server/SERVER 1.19/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show