menu
#10623806 Call to a member function setGoalReached() on null

Submitted by PocketMine-MP 5.13.0

General information

Version: 5.13.0
Git commit: f193a990
Plugin involvement: Direct
Report date: 2024-04-03 04:48:17 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 57 seconds

System Information

PHP version: 8.2.13
JIT status: Not available
Operating system: win
System banner: Windows NT DESKTOP-USFT1KI 10.0 build 22000 (Windows 11) AMD64

Error information

Warning: the AmbEngine plugin was directly involved in this crash. Please contact the plugin author.
Thread: Main
Message: Call to a member function setGoalReached() on null
File: plugins/pharynx-output.phar/src/com/azzi/amb/libraries/entity/ai/EntityNavigationComponent
Line: #103
Type: Error
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
    public function addGoal(NavigationGoal $goal): void {
$this->availableGoals[$goal::class] = $goal;
$this->sortGoalsByPriority();
}

/**
* @return void
*/
public function clearCurrentGoal(): void {
$this->currentGoal->setGoalReached();
$this->currentGoal = null;
$this->currentPath = null;
}

/**
* @return void
*/
protected function findGoal(): void {
if ($this->currentGoal?->hasGoal()) {
return;
#0 plugins/pharynx-output.phar/src/com/azzi/amb/libraries/entity/ai/movement/GroundMovement(137): com\azzi\amb\libraries\entity\ai\EntityNavigationComponent->clearCurrentGoal()
#1 plugins/pharynx-output.phar/src/com/azzi/amb/libraries/entity/ai/movement/GroundMovement(157): com\azzi\amb\libraries\entity\ai\movement\GroundMovement->checkIfStuck()
#2 plugins/pharynx-output.phar/src/com/azzi/amb/libraries/entity/ai/EntityNavigationComponent(158): com\azzi\amb\libraries\entity\ai\movement\GroundMovement->navigate(null)
#3 plugins/pharynx-output.phar/src/com/azzi/amb/libraries/entity/trait/NavigatingTrait(22): com\azzi\amb\libraries\entity\ai\EntityNavigationComponent->tick()
#4 plugins/pharynx-output.phar/src/com/azzi/amb/libraries/entity/types/animal/WolfEntity(65): com\azzi\amb\libraries\entity\types\animal\WolfEntity->updateNavigation(int 1100)
#5 pmsrc/src/world/World(997): com\azzi\amb\libraries\entity\types\animal\WolfEntity->onUpdate(int 1100)
#6 pmsrc/src/world/World(922): pocketmine\world\World->actuallyDoTick(int 1100)
#7 pmsrc/src/world/WorldManager(347): pocketmine\world\World->doTick(int 1100)
#8 pmsrc/src/Server(1811): pocketmine\world\WorldManager->tick(int 1100)
#9 pmsrc/src/Server(1693): pocketmine\Server->tick()
#10 pmsrc/src/Server(1066): pocketmine\Server->tickProcessor()
#11 pmsrc/src/PocketMine(350): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#6, object pocketmine\utils\MainLogger#3, string[56] C:\Users\angel\Documents\pocketmine 5.0 development amb\, string[64] C:\Users\angel\Documents\pocketmine 5.0 development amb\plugins\)
#12 pmsrc/src/PocketMine(373): pocketmine\server()
#13 pmsrc(11): require(string[100] phar://C:/Users/angel/Documents/pocketmine 5.0 development amb/PocketMine-MP.pha)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies

Installed PHP Extensions

  • Show