PocketMine Crash Archive

#29715214 Undefined call error by LobbyCore plugin

Submitted by Please Use 1.13.x
Warning! This crash was caused by the LobbyCore plugin. Please contact the original plugin author.

General information

Version: 0.0
API version: 2.0.0
Caused by a Plugin: YES
Report date: Friday 29/11/2019 21:03:01
Attached Issue: None

System Information

PHP version: 7.0.3
Operating system: linux
System banner: Linux vps10018 4.15.0-70-generic #79-Ubuntu SMP Tue Nov 12 10:36:11 UTC 2019 x86_64

Error information

Call to undefined method pocketmine\event\entity\EntityDamageEvent::getDamager()
File: /LobbyCore_v1.0.2.phar/src/LobbyCore/LobbyCore
Line: #1229
Error level: notice

[1220] 						}
[1221] 					}
[1222] 				}
[1223] 			}
[1224] 		}
[1225] 	}
[1226] 	
[1227] 	public function npcInteract(EntityDamageEvent $event){
[1228] 		$entity = $event->getEntity();
[1229] 		if($event->getDamager() instanceof Player){
[1230] 			$player = $event->getDamager();
[1231] 			if(strpos(strtolower($entity->getNameTag()), "sky wars") !== false){
[1232] 				$player->transfer("s1.7hub.eu", 10001);
[1233] 				$this->getServer()->broadcastMessage("§l§e" . $player->getName(). " §7» §r§aSky Wars");
[1234] 			}
[1235] 			
[1236] 			if(strpos(strtolower($entity->getNameTag()), "survival") !== false){
[1237] 				$player->transfer("s2.7hub.eu", 20003);
[1238] 				$this->getServer()->broadcastMessage("§l§e" . $player->getName(). " §7» §r§aSurvival");
[1239] 			}
#0 /src/pocketmine/plugin/RegisteredListener(96): pocketmine\plugin\MethodEventExecutor->execute(LobbyCore\LobbyCore object, pocketmine\event\entity\EntityDamageEvent object)
#1 /src/pocketmine/plugin/PluginManager(696): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\entity\EntityDamageEvent object)
#2 /src/pocketmine/entity/Entity(698): pocketmine\plugin\PluginManager->callEvent(pocketmine\event\entity\EntityDamageEvent object)
#3 /src/pocketmine/entity/Living(106): pocketmine\entity\Entity->attack(double 3, pocketmine\event\entity\EntityDamageEvent object)
#4 /src/pocketmine/Player(2914): pocketmine\entity\Living->attack(double 3, pocketmine\event\entity\EntityDamageEvent object)
#5 /src/pocketmine/entity/Entity(1037): pocketmine\Player->attack(double 3, pocketmine\event\entity\EntityDamageEvent object)
#6 /src/pocketmine/Player(4380): pocketmine\entity\Entity->fall(double 6.5967788696289)
#7 /src/pocketmine/entity/Entity(1020): pocketmine\Player->fall(double 6.5967788696289)
#8 /src/pocketmine/Player(5141): pocketmine\entity\Entity->updateFallState(double -0.95095062255859, boolean 1)
#9 /src/pocketmine/entity/Entity(1174): pocketmine\Player->updateFallState(double -0.95095062255859, boolean 1)
#10 /src/pocketmine/Player(4670): pocketmine\entity\Entity->move(double -0.14688110351562, double -0.95095062255859, double 0.092636108398438)
#11 /src/pocketmine/Player(1467): pocketmine\Player->processMovement(integer 1)
#12 /src/pocketmine/level/Level(571): pocketmine\Player->onUpdate(integer 20064)
#13 /src/pocketmine/Server(2351): pocketmine\level\Level->doTick(integer 20064)
#14 /src/pocketmine/Server(2455): pocketmine\Server->checkTickUpdates(integer 20064)
#15 /src/pocketmine/Server(2255): pocketmine\Server->tick(boolean)
#16 /src/pocketmine/Server(2129): pocketmine\Server->tickProcessor(boolean)
#17 /src/pocketmine/Server(1734): pocketmine\Server->start(boolean)
#18 /src/pocketmine/PocketMine(459): pocketmine\Server->__construct(pocketmine\CompatibleClassLoader object, pocketmine\utils\MainLogger object, string phar:///root/lobby1/PocketMine-MP.phar/, string /root/lobby1/, string /root/lobby1/plugins/)
#19 (1): require_once(string phar:///root/lobby1/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

NameVersionStateAuthor(s)
LobbyCore1.0.2EnabledDominixZ

Server Settings [toggle]

NameValue
motd7HUB.EU | LOBBY #1
server-port19132
white-listoff
announce-player-achievementsoff
spawn-protection0
max-players2019
allow-flightoff
spawn-animalson
spawn-mobson
gamemode0
force-gamemodeoff
hardcoreoff
pvpon
difficulty1
generator-settings
level-nameLobby
level-seed
level-typeDEFAULT
enable-queryon
enable-rconoff
rcon.password******
auto-saveon
memory-limit1024M
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.commandstrue
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