PocketMine Crash Archive

#29778430 Undefined call error by Slapper plugin

Submitted by PocketMine-Steadfast 1.5.1-hybrid
Warning! This crash was caused by the Slapper plugin. Please contact the original plugin author.

General information

Version: 1.5.1
API version: 1.12.0
Caused by a Plugin: YES
Report date: Sunday 24/04/2022 04:45:44
Attached Issue: None

System Information

PHP version: 7.0.18
Operating system: win
System banner: Windows NT DESKTOP-USV4DR0 10.0 build 19042 (Windows 10) AMD64

Error information

Call to undefined method pocketmine\Player::getSkinId()
File: /Slapper_1.phar/src/slapper/Main
Line: #700
Error level: notice

[691]                                 case "VillagerZombie":
[692]                                     $typeToUse = "SlapperZombieVillager";
[693]                                     break;
[694]                                 case "SnowGolem":
[695]                                 case "Snowman":
[696]                                     $typeToUse = "SlapperSnowman";
[697]                                     break;
[698]                             }
[699]                             if ($typeToUse !== "Nothing" && $theOne !== "Blank") {
[700]                                 $nbt = $this->makeNBT($typeToUse, $sender->getSkinData(), $sender->getSkinId(), $name, $inventory, $sender->getYaw(), $sender->getPitch(), $playerX, $playerY, $playerZ);
[701]                                 $slapperEntity = Entity::createEntity($typeToUse, $sender->getLevel()->getChunk($playerX >> 4, $playerZ >> 4), $nbt);
[702]                                 $sender->sendMessage($this->prefix . $theOne . " entity spawned with name " . TextFormat::WHITE . "\"" . TextFormat::BLUE . $name . TextFormat::WHITE . "\"" . TextFormat::GREEN . " and entity ID " . TextFormat::BLUE . $slapperEntity->getId());
[703]                             }
[704]                             if (isset($slapperEntity) && $slapperEntity instanceof SlapperHuman) {
[705]                                 $inv = $slapperEntity->getInventory();
[706] 
[707]                                 $inv->setHelmet($inventory->getHelmet());
[708]                                 $inv->setChestplate($inventory->getChestplate());
[709]                                 $inv->setLeggings($inventory->getLeggings());
[710]                                 $inv->setBoots($inventory->getBoots());
#0 /src/pocketmine/command/SimpleCommandMap(244): pocketmine\command\PluginCommand->execute(pocketmine\Player Player(2), string slapper, array Array())
#1 /src/pocketmine/Server(1961): pocketmine\command\SimpleCommandMap->dispatch(pocketmine\Player Player(2), string slapper create human xd)
#2 /src/pocketmine/Player(5070): pocketmine\Server->dispatchCommand(pocketmine\Player Player(2), string slapper create human xd)
#3 /src/pocketmine/Player(1521): pocketmine\Player->processCommand(string slapper create human xd)
#4 /src/pocketmine/level/Level(571): pocketmine\Player->onUpdate(integer 724)
#5 /src/pocketmine/Server(2355): pocketmine\level\Level->doTick(integer 724)
#6 /src/pocketmine/Server(2459): pocketmine\Server->checkTickUpdates(integer 724)
#7 /src/pocketmine/Server(2258): pocketmine\Server->tick(boolean)
#8 /src/pocketmine/Server(2132): pocketmine\Server->tickProcessor(boolean)
#9 /src/pocketmine/Server(1734): pocketmine\Server->start(boolean)
#10 /src/pocketmine/PocketMine(459): pocketmine\Server->__construct(pocketmine\CompatibleClassLoader object, pocketmine\utils\MainLogger object, string phar://C:/Users/BluDroid/Documents/PocketMine-MP/SteadFast2.phar/, string C:\Users\BluDroid\Documents\PocketMine-MP\, string C:\Users\BluDroid\Documents\PocketMine-MP\plugins\)
#11 (1): require_once(string phar://C:/Users/BluDroid/Documents/PocketMine-MP/SteadFast2.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

NameVersionStateAuthor(s)
1vs10.0.5Enabled
CustomAlerts1.6EnabledPalmaSTUD
DevTools1.10.0EnabledPocketMine Team
HUB2EnabledPalmaSTUD
MurderMystery4.5[TG]EnabledTheGrittlex && GalaxyCraft
Report1EnabledPalmaSTUD
SkyWarsReloade5.8 LvlsEnabledTheGrittlex
Slapper1.2.9.7Enabledjojoe77777
WorldProtect2.2.0EnabledPalmaStud

Server Settings [toggle]

NameValue
motdMinecraft: PE Server
server-port19132
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
view-distance8
memory-limit256M
animals-limit0
mobs-limit0
auto-generateoff
save-player-dataoff
time-updateon
use-encryptoff
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.chunk-radius4
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.assertions.warn-if-enabledtrue
debug.level1
debug.commandsfalse
player.save-player-datatrue
player.anti-cheat.allow-movement-cheatsfalse
player.anti-cheat.allow-instabreakfalse
level-settings.default-formatpmanvil
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.spawn-radius4
chunk-sending.cache-chunksfalse
chunk-ticking.per-tick40
chunk-ticking.tick-radius3
chunk-ticking.light-updatesfalse
chunk-ticking.clear-tick-listtrue
chunk-ticking.disable-block-ticking
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.hostupdate.pmmp.io
timings.hosttimings.pmmp.io
console.title-ticktrue
aliases
worlds
Find duplicates  |   Download