PocketMine Crash Archive

#29753856 Undefined call error by Slapper plugin

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

General information

Version: 1.6dev-29
API version: 1.13.0
Caused by a Plugin: YES
Report date: Sunday 05/04/2020 09:24:55
Attached Issue: None

System Information

PHP version: 5.6.6
Operating system: win
System banner: Windows NT iZqy9y0hxekqc4Z 6.3 build 9200 (Windows Server 2012 R2 Datacenter Edition) i586

Error information

Call to undefined method pocketmine\entity\Item::getName()
File: /NPC.phar/src/slapper/main
Line: #159
Error level: E_ERROR

[150] 		$taker = $ev->getEntity();
[151] 		if(!($ev instanceof EntityDamageByChildEntityEvent)){
[152] 		if(!($ev instanceof EntityDamageByBlockEvent)){
[153] 		$didItWork = "No";
[154] 		$isInvalid = "No";
[155] 		if (!($taker instanceof Player)){ $takerSaveId = $taker->getSaveId(); }
[156] 		if(($ev instanceof EntityDamageByEntityEvent)){ $giver = $ev->getDamager(); };
[157] 		if (($taker instanceof Player)) return;
[158] 		if(!($takerSaveId == "Human")){ $isInvalid = "Yes"; }
[159] 		$takerName = $taker->getName();
[160] 		$giverName = $giver->getName();
[161] 		if($giver->hasPermission("slapper.hit")){ $didItWork = "Yes"; }else{ 
[162] 		if($isInvalid == "No"){ $ev->setCancelled(); } }
[163] 		if(($didItWork = "No")){
[164] 		if($isInvalid == "No"){
[165] 		$configPart = $this->getConfig()->get($takerName);
[166] 		if($configPart == null){ $configPart = $this->getConfig()->get("FallbackCommand"); }
[167] 		foreach($configPart as $commandNew){
[168] 		$this->getServer()->dispatchCommand(new ConsoleCommandSender(), str_replace("", $giverName, $commandNew));
[169] 		}
#0 /src/pocketmine/Server__32bit(0): pocketmine\Server->crashDump(boolean)
#1 /src/pocketmine/plugin/MethodEventExecutor(36): slapper\main->onEntityInteract(boolean)
#2 /src/pocketmine/plugin/RegisteredListener(96): pocketmine\plugin\MethodEventExecutor->execute(boolean)
#3 /src/pocketmine/plugin/PluginManager(673): pocketmine\plugin\RegisteredListener->callEvent(boolean)
#4 /src/pocketmine/entity/Entity__32bit(606): pocketmine\plugin\PluginManager->callEvent(boolean)
#5 /src/pocketmine/entity/Item(90): pocketmine\entity\Entity->attack(boolean)
#6 /src/pocketmine/entity/Entity__32bit(836): pocketmine\entity\Item->attack(boolean)
#7 /src/pocketmine/entity/Item(108): pocketmine\entity\Entity->entityBaseTick(boolean)
#8 /src/pocketmine/level/Level__32bit(701): pocketmine\entity\Item->onUpdate(boolean)
#9 /src/pocketmine/Server__32bit(2324): pocketmine\level\Level->doTick(boolean)
#10 /src/pocketmine/Server__32bit(2482): pocketmine\Server->checkTickUpdates(boolean)
#11 /src/pocketmine/Server__32bit(2222): pocketmine\Server->tick(boolean)
#12 /src/pocketmine/Server__32bit(2100): pocketmine\Server->tickProcessor(boolean)
#13 /src/pocketmine/Server__32bit(1701): pocketmine\Server->start(boolean)
#14 /src/pocketmine/PocketMine(464): pocketmine\Server->__construct(boolean)
#15 (1): (boolean)
#16 (0): (boolean)

Loaded Plugins

NameVersionStateAuthor(s)
EssentialsPE1.1.0EnabledLegendsOfMCPE Team
Slapper1.0.1Enabledjojoe77777
VoidTP2EnabledLcmcpe
SFly0.2.1EnabledScallop
ServerInfo1.0.0Enabled934131
QD1Enabledlabi
TapToDo2.1.2EnabledFalk
DisableTntExplosion1.0.0EnabledMUedsa
ZhyProtect2EnabledZhy,fenhuo
WorldProtect1.5Enabledhappylife
WorldGM7EnabledExxarion
SimpleMarry1.1.3EnabledHim188
ChestLocker1.2EnabledEvolSoft
ItemCloud1.1Enabledonebone
EssentialsTP1.0.9_风鸟优化Enabled
Portal3.0.1Enabledljyloo
PeacefulSpawn2.4EnabledLDX
WorldEditor1.0.3EnabledKagehis4
DontTapTheWhiteTile0.1.2EnabledMUedsa
SWorld1.1.0Enabled18WYJ2 & boybook
iFriend1.0.2EnabledLilCrispy2o9/Angelo Vidrio
Nolose1.0.0Enabledlabi
SmartSign_by腐竹CrainL1.0.0EnabledCrainL
RealKeepInventory0.0.1EnabledMUedsa
FireProtection1.0EnabledLDX
BanItemAdd1.2.1Enabledzzx
Whois3Enabledhoyinm
PlayerFlow1.0.0EnabledProjectInfinity
HealthBar1.0.0DisabledLegendOfMCPE
RealTime2.1EnabledGuillaume351
EconomyAPI2.0.4Enabledonebone
PocketDockConsole0.0.14Enabledhumerusj
XK1.5.0Enabledmckm
ASE1.2.0EnabledKirt
InterServerSign2.0.3EnabledMUedsa
JoinPrompt1.0.0Enabledzuosi
NoBb1.0.1Enableddreamwork--fxxk
TMDRL1.0.0Enabledlabi
nohook1.0.0Enabledfxxk
ld流星优化Enabledonebone
SimpleAuth1.6.0EnabledPocketMine Team, shoghicp
EconomyAuction2.0.1Enabledonebone
ChestShop2.0.1 luo123优化EnabledMinecrafterJPN, MinecrafterJPN
EconomyAirport2.0.4Enabledonebone

Server Settings [toggle]

NameValue
server-namelittcker
server-port6724
gamemode0
max-players521
spawn-protection99999
white-listoff
enable-queryon
enable-rconoff
motdlitt_cker
announce-player-achievementson
allow-flightoff
spawn-animalson
spawn-mobson
force-gamemodeoff
hardcoreoff
pvpon
difficulty1
generator-settings
level-namemain
level-seed
level-typeDEFAULT
rcon.password******
auto-saveon
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