PocketMine Crash Archive

#29761938 Undefined call error by NPC plugin

Submitted by SoulCore 1.5.1-hybrid
Warning! This crash was caused by the NPC 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: Monday 14/09/2020 10:08:48
Attached Issue: None

System Information

PHP version: 7.0.3
Operating system: linux
System banner: Linux vm182 3.16.0-11-amd64 #1 SMP Debian 3.16.84-1 (2020-06-09) x86_64

Error information

Call to a member function getFolderName() on null
File: /plugins/NPC.phar/src/onebone/npc/Main
Line: #115
Error level: notice

[106] 				$npc->seePlayer($player);
[107] 			}
[108] 		}
[109] 	}
[110] 
[111] 	public function onEntityTeleport(EntityTeleportEvent $event){
[112] 		$player = $event->getEntity();
[113] 
[114] 		if($player instanceof Player){
[115] 			if($event->getFrom()->getLevel()->getFolderName() !== ($toLevel = $event->getTo()->getLevel()->getFolderName())){
[116] 				foreach($this->npc as $npc){
[117] 					if($npc->getLevel()->getFolderName() === $toLevel){
[118] 						$npc->spawnTo($player);
[119] 					}else{
[120] 						$npc->removeFrom($player);
[121] 					}
[122] 				}
[123] 			}
[124] 		}
[125] 	}
#0 /src/pocketmine/plugin/RegisteredListener(96): pocketmine\plugin\MethodEventExecutor->execute(onebone\npc\Main object, pocketmine\event\entity\EntityTeleportEvent object)
#1 /src/pocketmine/plugin/PluginManager(672): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\entity\EntityTeleportEvent object)
#2 /src/pocketmine/entity/Entity(1314): pocketmine\plugin\PluginManager->callEvent(pocketmine\event\entity\EntityTeleportEvent object)
#3 /src/pocketmine/Player(3178): pocketmine\entity\Entity->teleport(pocketmine\level\Location Position(level=null,x=-2.5,y=76.999979858398,z=13.5), double 0, double 0)
#4 /plugins/SteadLag_1/src/SteadLag/Main(192): pocketmine\Player->teleport(pocketmine\level\Location Position(level=null,x=-2.5,y=76.999979858398,z=13.5))
#5 /src/pocketmine/plugin/MethodEventExecutor(36): SteadLag\Main->PlayerJoinEvent(pocketmine\event\player\PlayerJoinEvent object)
#6 /src/pocketmine/plugin/RegisteredListener(96): pocketmine\plugin\MethodEventExecutor->execute(SteadLag\Main object, pocketmine\event\player\PlayerJoinEvent object)
#7 /src/pocketmine/plugin/PluginManager(672): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\player\PlayerJoinEvent object)
#8 /src/pocketmine/Player(849): pocketmine\plugin\PluginManager->callEvent(pocketmine\event\player\PlayerJoinEvent object)
#9 /src/pocketmine/Player(1414): pocketmine\Player->sendNextChunk(boolean)
#10 /src/pocketmine/level/Level(596): pocketmine\Player->onUpdate(integer 2090)
#11 /src/pocketmine/Server(2329): pocketmine\level\Level->doTick(integer 2090)
#12 /src/pocketmine/Server(2433): pocketmine\Server->checkTickUpdates(integer 2090)
#13 /src/pocketmine/Server(2233): pocketmine\Server->tick(boolean)
#14 /src/pocketmine/Server(2107): pocketmine\Server->tickProcessor(boolean)
#15 /src/pocketmine/Server(1710): pocketmine\Server->start(boolean)
#16 /src/pocketmine/PocketMine(459): pocketmine\Server->__construct(pocketmine\CompatibleClassLoader object, pocketmine\utils\MainLogger object, string /root/19135/, string /root/19135/, string /root/19135/plugins/)

Loaded Plugins

NameVersionStateAuthor(s)
DevTools1.12.0EnabledPocketMine Team
seat2.1.0EnabledMineRourii
NPC1.4Enabledonebone
WalkingSign3EnabledMrDoni98
TapToDo2.1.2EnabledFalk
Drugs1.0Enabled
PutOnline1.0Enabled
ChangePrefix1.0Enabled
SimplexDC1.0Enabled
OnlineGuard1.0Enabled
MyParticle1.0.1EnabledZzm
OwnBusiness1.0Enabled
BankRobbery1.0Enabled
EssentialsPE2.0.0EnabledLegendsOfMCPE Team
CoffeeMan1.0Enabled
Vampire1.0Enabled
TPAFriends0.1EnabledBalAnce
TerroristBomb1.0Enabled
Guns1.0EnabledDragonFlex
SkinStealer1.0.0Enabled
EnderCrystal1.0Enabled
SimplexMask1.0Enabled
BuyDonate1.0Enabled
SimplexMed1.0Enabled
FrameAnimate1.0Enabled
HealCmd1.0Enabled
SimplexAlert1.0Enabled
BroadcastDonate1.0Enabled
EconomyAPI2.0.9Enabledonebone
AutoMine1.0Enabled
Shield1.0Enabled
Distribution1.0Enabled
Jobs1.0Enabled
SimplexSex1.0Enabled
Reboot1.0Enabled
ServerAuth2.13EnabledEvolSoft
RandomTP1.0Enabled
MagicWater1.0Enabled
Beverages1Enabled
PlayerTeleport1.0Enabled
SWTeleport1.0Enabled
NewYear1.0Enabled
Hookah1.0Enabled
Casino1.0Enabled
SimplexPhone1.0Enabled
BlockMoney1.0Enabled
Labirint1.0Enabled
MineBank1.0Enabled
SkyPVPTeleport1.0Enabled
PleaseReboot1.0Enabled
BanMessage1.0Enabled
HidePlayer1.0Enabled
PlayerTitile1.0Enabled
DisablePVP1.0Enabled
MoreItemsInCreative1.0EnabledTopPlugins
MaxOnline1.0Enabled
PopupDamage1.0Enabled
ClearChat1.0Enabled
SimplexSpam1.0Enabled
EffectShop1.0Enabled
SnowHalation1.8-alphaEnabledhm
Commands1.0Enabled
ClearLag1.0Enabled
DontReload1.0Enabled
EasyCritical1.0Enabled
DonateEffect1.0Enabled
VipJoins1.0Enabled
CreativeControl1.0Enabled
SimplexHub1.0Enabled
WorldGuardian1.6Enabledmamayadesu
Size1.0Enabled
TNT1Enabled
AntiBot1.0Enabled
MagicStick1.0Enabled
FreeMoney1.0Enabled
NameTagEdit1.0Enabled
MyShop1.0Enabled
SBTeleport1.0Enabled
SteadLag1.0Enabled
FarmPorter1.0Enabled
SimplexShop1Enabled
BotSecure1.0Enabled
AntiPidoras1.0Enabled
ChatLogin1.4EnabledEvolSoft
DayReward1.0Enabled
AutoParkur1.0Enabled
PurePerms1.3.7Enabled64FF00 & ProjectInfinity
BlockedCommands1.0Enabled
BanKickTimer1.0Enabled
JoinEffect1.0Enabled
HackAdmin1.0Enabled
Vlastelin1.0Enabled
PromoYT1.0Enabled
ChatGame1.0Enabled
VIPKillParticle1.0Enabled
Cigarette1.0Enabled
SignInfo1.0Enabled
SimplexRCON1.0Enabled
ColorSign1.0Enabled
Broadcaster1.14EnabledEvolSoft
VoteArea1.0Enabled
Spleef1.0Enabled
KitPVPTeleport1.0Enabled
FrameProtect1.0Enabled
FactionsPro1.4EnabledTethered_
JoinMOTD1.0Enabled
BuyEvent1.0Enabled
Furnace1.0Enabled
NoGoldenApples1.0Enabled
Warps1.0Enabled
SimplexCraft1.0Enabled
TimTheEnchanter1Enabled
Lottery1.0Enabled
SimplexQuest1.0Enabled
Coords1.0.1Enabled
SimplexDonate1.0Enabled
DeathMessage1.0Enabled
DeletedItems1.0Enabled
LuckyBlock1.0Enabled
Passport1.0Enabled
LuckyCash1.0Enabled
SleepOfficialEnabled
CIDGuard1.0Enabled
Hunter1.0Enabled
Cases1.0Enabled
EasyTattoo1.0Enabled
BugsBunny1.0Enabled
Marriage1.0Enabled
Parkur1.0Enabled
KitPlus1.0Enabled
PureChat1.4.0Enabled64FF00

Server Settings [toggle]

NameValue
server-nameMinecraft: PE Server
server-port19135
gamemode0
max-players20
spawn-protection16
white-listoff
enable-queryon
enable-rconon
rcon.password******
motdMinecraft: PE Server
announce-player-achievementson
allow-flightoff
spawn-animalson
spawn-mobson
force-gamemodeoff
hardcoreoff
pvpon
difficulty1
generator-settings
level-nameworld
level-seed
level-typeDEFAULT
auto-saveon
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.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