PocketMine Crash Archive

#29763831 Unknown error by NPC plugin

Submitted by BossCore 0.1
Warning! This crash was caused by the NPC plugin. Please contact the original plugin author.

General information

Version: 0.1
API version: 1.12.0
Caused by a Plugin: YES
Report date: Saturday 02/01/2021 11:48:16
Attached Issue: None

System Information

PHP version: 7.0.3
Operating system: android
System banner: Linux localhost 3.18.31-g07dc527 #2 SMP PREEMPT Wed Oct 17 11:53:47 CST 2018 armv7l

Error information

Undefined class constant ACTION_LEFT_CLICK
File: /plugins/NPC_MCPE14.phar/src/onebone/npc/Main
Line: #52
Error level: notice

[43] 			$npc = NPC::createNPC($this, $datam);
[44] 			$this->npc[$npc->getId()] = $npc;
[45] 		}
[46] 
[47] 		$this->getServer()->getPluginManager()->registerEvents($this, $this);
[48] 	}
[49] 
[50] 	public function onPacketReceived(DataPacketReceiveEvent $event){
[51] 		$pk = $event->getPacket();
[52] 		if($pk instanceof InteractPacket and $pk->action === InteractPacket::ACTION_LEFT_CLICK){
[53] 			if(isset($this->npc[$pk->target])){
[54] 				$npc = $this->npc[$pk->target];
[55] 
[56] 				if(!isset($this->msgQueue[$event->getPlayer()->getName()]) and !isset($this->cmdQueue[$event->getPlayer()->getName()])){
[57] 					$npc->onInteract($event->getPlayer());
[58] 					return;
[59] 				}
[60] 
[61] 				if(isset($this->msgQueue[$event->getPlayer()->getName()])){
[62] 					$npc->setMessage($this->msgQueue[$event->getPlayer()->getName()]);
#0 /src/pocketmine/plugin/RegisteredListener(96): pocketmine\plugin\MethodEventExecutor->execute(onebone\npc\Main object, pocketmine\event\server\DataPacketReceiveEvent object)
#1 /src/pocketmine/plugin/PluginManager(696): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\server\DataPacketReceiveEvent object)
#2 /src/pocketmine/Player(1717): pocketmine\plugin\PluginManager->callEvent(pocketmine\event\server\DataPacketReceiveEvent object)
#3 /src/pocketmine/network/RakLibInterface(184): pocketmine\Player->handleDataPacket(pocketmine\network\protocol\InteractPacket object)
#4 /src/raklib/server/ServerHandler(98): pocketmine\network\RakLibInterface->handleEncapsulated(string 192.168.43.1:51373, string !..)
#5 /src/pocketmine/network/RakLibInterface(120): raklib\server\ServerHandler->handlePacket(boolean)
#6 /src/pocketmine/network/Network(175): pocketmine\network\RakLibInterface->process(boolean)
#7 /src/pocketmine/Server(2462): pocketmine\network\Network->processInterfaces(boolean)
#8 /src/pocketmine/Server(2265): pocketmine\Server->tick(boolean)
#9 /src/pocketmine/Server(2138): pocketmine\Server->tickProcessor(boolean)
#10 /src/pocketmine/Server(1743): pocketmine\Server->start(boolean)
#11 /src/pocketmine/PocketMine(459): pocketmine\Server->__construct(pocketmine\CompatibleClassLoader object, pocketmine\utils\MainLogger object, string /storage/emulated/0/Server/MCPE/, string /storage/emulated/0/Server/MCPE/, string /storage/emulated/0/Server/MCPE/plugins/)

Loaded Plugins

NameVersionStateAuthor(s)
EBorder1.0.0EnabledEclipse
aHotbar2EnabledAlexBrin
PurePerms1.3.7Enabled64FF00 & ProjectInfinity
CommandBlocker1.5.5EnabledThunder33345
DevTools1.11.1EnabledPocketMine Team
FrameOff1.2Disabled
NetherChests1.1.1Enabledaliuly
NoCreativeDamage1.0Enabled
NoUnknownAdmins1.02EnabledPCT Games
NPC1.4Enabledonebone
SanBotPE1.1Enabledsantiaga
ZipPluginLoader1.1.2Enabledaliuly
SaveInv0.0.1EnabledPub4Game
SimpleAntiBuild1.0.0Enabled64FF00
SpecialGround1EnabledEmreTr1
TimeCommander2EnabledLDX
TradeItem1Enabledjustmaks19
TreasureChest_PluGPluS1.0.3EnabledPluGPluS
ClearLagg1.1.0EnabledLegendOfMCPE
SWorldEditorBeta_1.5EnabledSergey_Dertan
WorldFixer1EnabledCreeperFace
aEjection1EnabledAlexBrin
PureEntitiesXEnabledmilk0417, RevivalPMMP
AdvancedKits15.1Enabledluca28pet
fonarik1EnabledThisCrazy
AdvancedRestart1.0.0Enabled
AntiFullNew3.0.0Enabledxacki14
LaxAuth2.0 betaEnabledJenkins
Dialogs0.1Enabledflabberfish
EconomyAPI2.0.9Enabledonebone
FactionsPro1.4EnabledTethered_
ItemEffects2.5.0EnabledXFuryMCPE
NolikCases0.1Enabled0x00 (flabberfish)
OkoDemona0.5Enabledxliarx
Oruj1.1EnabledBlackSunOneSV
VirusBans1.1EnabledVirusCraft
AdvancedKits4Enabledluca28pet
ChatUtilities2.0.1Enabled
WorldGuardian1.6.1Disabledmamayadesu
ZAFinalEnabledMBox
MeowChat777Enabledvk.com/alex0x4a
AntiToolbox1.0EnabledFaigerSYS

Server Settings [toggle]

NameValue
server-nameMinecraft: PE
motd§k§e||| §r§cSTALCRAFT §k§e|||
server-port19132
online-mode0
level-nameworld
level-typeDEFAULT
gamemode0
max-players20
spawn-protection16
announce-player-achievementsoff
white-listoff
enable-queryon
enable-rconoff
allow-flightoff
spawn-animalson
spawn-mobson
force-gamemodeoff
hardcoreoff
pvpon
difficulty1
generator-settings
level-seed
rcon.password******
auto-saveon
view-distance8
memory-limit256M
animals-limit0
mobs-limit0
auto-generateoff
save-player-dataoff
time-updateon
use-encryptoff
settings.languagerus
Find duplicates  |   Download