PocketMine Crash Archive

#29781844 Undefined call error by HealthBar plugin

Submitted by PocketMine-MP 1.6dev
Warning! This crash was caused by the HealthBar plugin. Please contact the original plugin author.

General information

Version: 1.6dev
API version: 1.13.1
Caused by a Plugin: YES
Report date: Monday 24/10/2022 11:17:54
Attached Issue: None

System Information

PHP version: 5.6.10
Operating system: linux
System banner: Linux d7320ba82c14 5.15.0-40-generic #43-Ubuntu SMP Wed Jun 15 12:54:21 UTC 2022 x86_64

Error information

Call to a member function getUserDataMgr() on null
File: /HealthBar.phar/src/HB/Checker
Line: #19
Error level: E_ERROR

[10] 	public function __construct($plugin){
[11] 		$this->plugin = $plugin;
[12] 		parent::__construct($plugin); 
[13] 	}
[14] 
[15] 	public function onRun($tick){
[16] 	 foreach($this->getOwner()->getServer()->getOnlinePlayers() as $p) {
[17] $player = $p;
[18] $this->PurePerms = $this->getOwner()->getServer()->getPluginManager()->getPlugin("PurePerms");
[19]         $group = $this->PurePerms->getUserDataMgr($p)->getGroup($p);
[20]         $groupname = $group->getName();
[21] if($this->getOwner()->getServer()->getPluginManager()->getPlugin("PurePerms") === null){
[22] $p->setNameTag($p->getName()."\n".($player->getHealth() / $player->getHealth() * 100)."%");
[23] }else{
[24] 	$p->setNameTag("§7[§e".$groupname."§7]§7".$p->getName()."\n§cHP:§f".$player->getHealth()."");
[25] }
[26] }
[27] 	 }
[28] 	}
[29] 
#0 (): pocketmine\Server->crashDump(boolean)

Loaded Plugins

NameVersionStateAuthor(s)
SetHub1EnabledxSccer_
HealthBar1.0EnabledSavionLegendZzz
ITotems1.1Enabled
AntiSpam1.0EnabledMamayAdesu
EnderPearl1.2.3EnabledYosshi999
SimpleWarp2.1.0EnabledFalkirks

Server Settings [toggle]

NameValue
gamemode0
enable-rconoff
white-listoff
hardcoreoff
level-nameworld
max-players10
auto-saveon
spawn-protection16
motdServer.pro | SurvivalCraft
announce-player-achievementson
allow-flightoff
spawn-animalson
spawn-mobson
force-gamemodeoff
pvpon
difficulty1
generator-settings
level-seed
level-typeDEFAULT
rcon.password******
enable-queryon
disable-logfileoff
server-port41374
settings.languageeng
settings.force-languagefalse
settings.shutdown-messageServer closed
settings.query-pluginstrue
settings.deprecated-verbosetrue
settings.enable-profilingfalse
settings.profile-report-trigger20
settings.async-workersauto
memory.global-limit0
memory.main-limit0
memory.main-hard-limit1024
memory.check-rate20
memory.continuous-triggertrue
memory.continuous-trigger-rate30
memory.garbage-collection.period36000
memory.garbage-collection.collect-async-workertrue
memory.garbage-collection.low-memory-triggertrue
memory.max-chunks.trigger-limit96
memory.max-chunks.trigger-chunk-collecttrue
memory.max-chunks.low-memory-triggertrue
memory.world-caches.disable-chunk-cachetrue
memory.world-caches.low-memory-triggertrue
network.batch-threshold256
network.compression-level7
network.async-compressionfalse
network.upnp-forwardingfalse
debug.level1
debug.commandsfalse
level-settings.default-formatmcregion
level-settings.convert-formatfalse
level-settings.auto-tick-ratetrue
level-settings.auto-tick-rate-limit20
level-settings.base-tick-rate1
level-settings.always-tick-playersfalse
chunk-sending.per-tick4
chunk-sending.max-chunks192
chunk-sending.spawn-threshold56
chunk-sending.cache-chunksfalse
chunk-ticking.per-tick40
chunk-ticking.tick-radius3
chunk-ticking.light-updatesfalse
chunk-ticking.clear-tick-listtrue
chunk-generation.queue-size8
chunk-generation.population-queue-size8
ticks-per.animal-spawns400
ticks-per.monster-spawns1
ticks-per.autosave6000
ticks-per.cache-cleanup900
spawn-limits.monsters70
spawn-limits.animals15
spawn-limits.water-animals5
spawn-limits.ambient15
auto-report.enabledtrue
auto-report.send-codetrue
auto-report.send-settingstrue
auto-report.send-phpinfofalse
auto-report.hostcrash.pocketmine.net
anonymous-statistics.enabledtrue
anonymous-statistics.hoststats.pocketmine.net
auto-updater.enabledtrue
auto-updater.on-update.warn-consoletrue
auto-updater.on-update.warn-opstrue
auto-updater.preferred-channelbeta
auto-updater.suggest-channelstrue
auto-updater.hostwww.pocketmine.net
aliases
worlds
Find duplicates  |   Download