menu
#3768552 Call to undefined method revivalpmmp\pureentities\entity\monster\walking\Creeper::getInventory()

Submitted by PocketMine-MP 3.11.1

General information

Version: 3.11.1
Git commit: 40a2211a
Plugin involvement: Direct
Report date: 2020-02-14 10:13:59 +0000 UTC

System Information

PHP version: 7.3.14
Operating system: win
System banner: Windows NT DESKTOP-I3SBCUR 10.0 build 18363 (Windows 10) AMD64

Error information

Warning: the RunForMoney plugin was directly involved in this crash. Please contact the plugin author.
Message: Call to undefined method revivalpmmp\pureentities\entity\monster\walking\Creeper::getInventory()
File: plugins/RunForMoney_v11.2.5.phar/src/pawarenessc/RFM/event/PlayerEventListener
Line: #311
Error level: Error
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
			

$map = $this->owner->map;

if($event instanceof EntityDamageByEntityEvent)
{
$entity = $event->getEntity();
$player = $event->getDamager();

$item = $player->getInventory()->getItemInHand();
$cname = $item->getCustomName();
$id = $item->getId();


$hunter = $player->getName();
$runner = $entity->getName();

if($this->owner->type[$hunter] == 2 && $this->owner->type[$runner] == 1 && $this->owner->game == true)
{
if($this->owner->addh !== true)
#0 src/pocketmine/plugin/MethodEventExecutor(38): pawarenessc\RFM\event\PlayerEventListener->EntityDamageEvent(object pocketmine\event\entity\EntityDamageByEntityEvent)
#1 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(object pawarenessc\RFM\event\PlayerEventListener, object pocketmine\event\entity\EntityDamageByEntityEvent)
#2 src/pocketmine/event/Event(95): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\entity\EntityDamageByEntityEvent)
#3 src/pocketmine/entity/Entity(992): pocketmine\event\Event->call()
#4 src/pocketmine/entity/Living(574): pocketmine\entity\Entity->attack(object pocketmine\event\entity\EntityDamageByEntityEvent)
#5 src/pocketmine/Player(3756): pocketmine\entity\Living->attack(object pocketmine\event\entity\EntityDamageByEntityEvent)
#6 src/pocketmine/level/Explosion(206): pocketmine\Player->attack(object pocketmine\event\entity\EntityDamageByEntityEvent)
#7 plugins/PureEntitiesX.phar/src/revivalpmmp/pureentities/entity/monster/walking/Creeper(90): pocketmine\level\Explosion->explodeB()
#8 plugins/PureEntitiesX.phar/src/revivalpmmp/pureentities/entity/monster/walking/Creeper(108): revivalpmmp\pureentities\entity\monster\walking\Creeper->explode()
#9 src/pocketmine/level/Level(853): revivalpmmp\pureentities\entity\monster\walking\Creeper->onUpdate(integer 4757)
#10 src/pocketmine/level/Level(786): pocketmine\level\Level->actuallyDoTick(integer 4757)
#11 src/pocketmine/Server(2443): pocketmine\level\Level->doTick(integer 4757)
#12 src/pocketmine/Server(2574): pocketmine\Server->checkTickUpdates(integer 4757, double 1581675239.2022)
#13 src/pocketmine/Server(2343): pocketmine\Server->tick()
#14 src/pocketmine/Server(2203): pocketmine\Server->tickProcessor()
#15 src/pocketmine/Server(1785): pocketmine\Server->start()
#16 src/pocketmine/PocketMine(272): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[46] C:\Users\81703\Documents\PocketMine-MP-stable\, string[54] C:\Users\81703\Documents\PocketMine-MP-stable\plugins\)
#17 src/pocketmine/PocketMine(295): pocketmine\server()
#18 (1): require(string[101] phar://C:/Users/81703/Documents/PocketMine-MP-stable/PocketMine-MP.phar/src/pock)

Loaded Plugins

  • Show

Server Settings

  • Show