menu
#4583275 Argument 1 passed to pocketmine\level\Location::equals() must be an instance of pocketmine\math\Vector3, null given

Submitted by PocketMine-MP 3.15.1

General information

Version: 3.15.1
Git commit: 9f604842
Plugin involvement: Indirect
Report date: 2020-10-17 23:07:02 +0000 UTC

System Information

PHP version: 7.3.23
Operating system: linux
System banner: Linux ns556347 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64

Error information

Warning: the NexusPrison plugin was indirectly involved in this crash. This may be a false positive. Please contact the plugin author before opening a bug ticket.
Message: Argument 1 passed to pocketmine\level\Location::equals() must be an instance of pocketmine\math\Vector3, null given
File: src/pocketmine/level/Location
Line: #81
Error level: TypeError
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
	 */
public function getPitch(){
return $this->pitch;
}

public function __toString(){
return "Location (level=" . ($this->isValid() ? $this->getLevelNonNull()->getName() : "null") . ", x=$this->x, y=$this->y, z=$this->z, yaw=$this->yaw, pitch=$this->pitch)";
}

public function equals(Vector3 $v) : bool{
if($v instanceof Location){
return parent::equals($v) and $v->yaw == $this->yaw and $v->pitch == $this->pitch;
}
return parent::equals($v);
}
}
#0 plugins/NexusPrison.phar/src/core/game/combat/guards/BaseGuard(85): pocketmine\level\Location->equals(NULL )
#1 plugins/NexusPrison.phar/src/core/game/combat/guards/types/Warden(60): core\game\combat\guards\BaseGuard->entityBaseTick(integer 1)
#2 src/pocketmine/entity/Entity(1394): core\game\combat\guards\types\Warden->entityBaseTick(integer 1)
#3 src/pocketmine/level/Level(852): pocketmine\entity\Entity->onUpdate(integer 1)
#4 src/pocketmine/level/Level(785): pocketmine\level\Level->actuallyDoTick(integer 1)
#5 src/pocketmine/Server(2267): pocketmine\level\Level->doTick(integer 1)
#6 src/pocketmine/Server(2398): pocketmine\Server->checkTickUpdates(integer 1, double 1602976022.7043)
#7 src/pocketmine/Server(2154): pocketmine\Server->tick()
#8 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
#9 src/pocketmine/Server(1588): pocketmine\Server->start()
#10 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[21] /home/servers/prison/, string[29] /home/servers/prison/plugins/)
#11 src/pocketmine/PocketMine(304): pocketmine\server()
#12 (11): require(string[76] phar:///home/servers/prison/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies