PocketMine Crash Archive

#29764836 Undefined call error by InventoryClear plugin

Submitted by PocketMine-MP 1.4.1-980
Warning! This crash was caused by the InventoryClear plugin. Please contact the original plugin author.

General information

Version: 1.4.1-980
API version: 1.11.0
Caused by a Plugin: YES
Report date: Tuesday 16/03/2021 11:31:57
Attached Issue: None

System Information

PHP version: 5.6.10
Operating system: linux
System banner: Linux vps13874 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64

Error information

Call to a member function setContents() on null
File: /InventoryClear_v1.1.phar/src/InventoryClear/Main
Line: #103
Error level: E_ERROR

[94]         $this->clearjoin = $this->getConfig()->get("Clear on Death");
[95]         if($this->clearjoin == true) {
[96]             $event->setDrops(array(Item::get(0, 0, 0)));
[97]         }
[98]     }
[99]     
[100]     public function onQuit(PlayerQuitEvent $event) {
[101]         $this->clearjoin = $this->getConfig()->get("Clear on Quit");
[102]         if($this->clearjoin == true) {
[103]             $event->getPlayer()->getInventory()->setContents(array(Item::get(0, 0, 0)));
[104]         }
[105]     }
[106]     
[107] }
[108] 
[109] 
[110] 
[111] 
[112] 
[113] 
#0 (): pocketmine\Server->crashDump()

Loaded Plugins

NameVersionStateAuthor(s)
WorldProtect2.2.0EnabledPRO100KatYT
ChatCensor1.4EnabledEvolSoft
NoAdvertisingPE1.0.1EnabledPRO100KatYT
CapsLimit1.0.0EnabledPRO100KatYT
TapToDo2.1.2EnabledFalk
CustomAlerts1.2EnabledEvolSoft
ItemCasePE1.0.2Enabledaliuly
NoVoid0.3EnabledPRO100KatYT
EssentialsPE1.0.2EnabledPRO100KatYT
TimeCommander2EnabledLDX
CombatLogger1.0.0EnabledPRO100KatYT
InventoryClear1.1EnabledCrazedMiner
CustomRanks1.0.0Enabledshoghicp
AlwaysSpawn2.1.3EnabledComedyman937
SimpleMessages1.2EnabledPRO100KatYT
SimpleAuth1.6.0EnabledPocketMine Team, shoghicp
ClearLagg1.1.0EnabledLegendOfMCPE
iProtector3.1aEnabledLDX
WorldEditArt1.0.0_beta_dev_#048EnabledPEMapModder
KeepInventory1.2.0EnabledPRO100KatYT
WorldBorder1.1.0EnabledPRO100KatYT
BattleKits1.0.4EnabledPRO100KatYT

Server Settings [toggle]

NameValue
motdMCPE.ivi.pl
server-port19133
memory-limit-1
white-listoff
announce-player-achievementson
spawn-protection16
max-players20
allow-flightoff
spawn-animalson
spawn-mobson
gamemode0
force-gamemodeoff
hardcoreoff
pvpon
difficulty1
generator-settings
level-nameworld
level-seed
level-typeDEFAULT
enable-queryon
enable-rconoff
rcon.password******
auto-saveon
settings.shutdown-messageServer closed
settings.query-pluginstrue
settings.deprecated-verbosetrue
settings.enable-profilingfalse
settings.advanced-cachefalse
settings.upnp-forwardingfalse
settings.send-usagetrue
settings.async-workers1
debug.level1
debug.commandsfalse
level-settings.default-formatmcregion
level-settings.convert-formatfalse
chunk-sending.per-tick4
chunk-sending.compression-level8
chunk-sending.max-chunks256
chunk-ticking.per-tick260
chunk-ticking.tick-radius4
chunk-ticking.light-updatesfalse
chunk-ticking.clear-tick-listfalse
chunk-generation.use-asynctrue
chunk-generation.per-tick1
chunk-gc.period-in-ticks600
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-phpinfotrue
auto-report.hostcrash.pocketmine.net
auto-updater.enabledtrue
auto-updater.on-update.warn-consoletrue
auto-updater.on-update.warn-opstrue
auto-updater.preferred-channelstable
auto-updater.suggest-channelstrue
auto-updater.hostwww.pocketmine.net
aliases
worlds
Find duplicates  |   Download