Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(EXCEPTION) in "PiggyCustomEnchants_dev-230.phar/src/PiggyCustomEnchants/EventListener" at line 1000 #165

Closed
teracube opened this issue May 28, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@teracube
Copy link

commented May 28, 2018

Please make sure your issue complies with these guidelines:

    • Server Software must be the official PMMP w/o vanilla patching plugins (i.e. TeaSpoon)
    • Issue must have not been reported previously
    • Make sure you are on the latest version of PMMP & PiggyCustomEnchants
    • Have a detailed title, like "CustomEnchants::getName() must be..."
    • If possible, provide crashdumps/errors related to the issue.

General

Error : Could not pass event 'pocketmine\event\entity\EntityDamageEvent' to 'PiggyCustomEnchants v1.1.3': Call to undefined method pocketmine\event\entity\EntityDamageEvent::getDamage() on PiggyCustomEnchants\EventListener

Error: "Call to undefined method pocketmine\event\entity\EntityDamageEvent::getDamage()" (EXCEPTION) in "PiggyCustomEnchants_dev-230.phar/src/PiggyCustomEnchants/EventListener" at line 1000

Version:

  • PiggyCustomEnchants: PiggyCustomEnchants_dev-230.phar
  • PMMP: PocketMine-MP version 1.7dev-1058 "[REDACTED]" (API 3.0.0-ALPHA12)

Steps to Reproduce the Issue

1.PocketMine-MP version 1.7dev-1058
2. PiggyCustomEnchants_dev-230.phar
I don't know reproduce

Extra Information

2018-05-28 [12:42:03] [Server thread/CRITICAL]: Could not pass event 'pocketmine\event\entity\EntityDamageEvent' to 'PiggyCustomEnchants v1.1.3': Call to undefined method pocketmine\event\entity\EntityDamageEvent::getDamage() on PiggyCustomEnchants\EventListener
2018-05-28 [12:42:03] [Server thread/CRITICAL]: Error: "Call to undefined method pocketmine\event\entity\EntityDamageEvent::getDamage()" (EXCEPTION) in "PiggyCustomEnchants_dev-230.phar/src/PiggyCustomEnchants/EventListener" at line 1000
2018-05-28 [12:42:03] [Server thread/DEBUG]: #0 PiggyCustomEnchants_dev-230.phar/src/PiggyCustomEnchants/EventListener(152): PiggyCustomEnchants\EventListener->checkArmorEnchants(pocketmine\Player object, pocketmine\event\entity\EntityDamageEvent object)
2018-05-28 [12:42:03] [Server thread/DEBUG]: #1 src/pocketmine/plugin/MethodEventExecutor(38): PiggyCustomEnchants\EventListener->onDamage(pocketmine\event\entity\EntityDamageEvent object)
2018-05-28 [12:42:03] [Server thread/DEBUG]: #2 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(PiggyCustomEnchants\EventListener object, pocketmine\event\entity\EntityDamageEvent object)
2018-05-28 [12:42:03] [Server thread/DEBUG]: #3 src/pocketmine/plugin/PluginManager(701): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\entity\EntityDamageEvent object)
2018-05-28 [12:42:03] [Server thread/DEBUG]: #4 src/pocketmine/entity/Entity(891): pocketmine\plugin\PluginManager->callEvent(pocketmine\event\entity\EntityDamageEvent object)
2018-05-28 [12:42:03] [Server thread/DEBUG]: #5 src/pocketmine/entity/Living(524): pocketmine\entity\Entity->attack(pocketmine\event\entity\EntityDamageEvent object)
2018-05-28 [12:42:03] [Server thread/DEBUG]: #6 src/pocketmine/Player(3706): pocketmine\entity\Living->attack(pocketmine\event\entity\EntityDamageEvent object)
2018-05-28 [12:42:03] [Server thread/DEBUG]: #7 src/pocketmine/entity/Living(387): pocketmine\Player->attack(pocketmine\event\entity\EntityDamageEvent object)
2018-05-28 [12:42:03] [Server thread/DEBUG]: #8 src/pocketmine/entity/Entity(1434): pocketmine\entity\Living->fall(double 6.5597)
2018-05-28 [12:42:03] [Server thread/DEBUG]: #9 src/pocketmine/entity/Entity(1646): pocketmine\entity\Entity->updateFallState(double -0.6925, boolean 1)
2018-05-28 [12:42:03] [Server thread/DEBUG]: #10 src/pocketmine/Player(1559): pocketmine\entity\Entity->move(double -0.052700000000186, double -0.6925, double -0.14249999999998)
2018-05-28 [12:42:03] [Server thread/DEBUG]: #11 src/pocketmine/Player(1704): pocketmine\Player->processMovement(integer 1)
2018-05-28 [12:42:03] [Server thread/DEBUG]: #12 src/pocketmine/level/Level(750): pocketmine\Player->onUpdate(integer 154042)
2018-05-28 [12:42:03] [Server thread/DEBUG]: #13 src/pocketmine/Server(2377): pocketmine\level\Level->doTick(integer 154042)
2018-05-28 [12:42:03] [Server thread/DEBUG]: #14 src/pocketmine/Server(2528): pocketmine\Server->checkTickUpdates(integer 154042, double 1527504123.7028)
2018-05-28 [12:42:03] [Server thread/DEBUG]: #15 src/pocketmine/Server(2276): pocketmine\Server->tick()
2018-05-28 [12:42:03] [Server thread/DEBUG]: #16 src/pocketmine/Server(2150): pocketmine\Server->tickProcessor()
2018-05-28 [12:42:03] [Server thread/DEBUG]: #17 src/pocketmine/Server(1733): pocketmine\Server->start()
2018-05-28 [12:42:03] [Server thread/DEBUG]: #18 src/pocketmine/PocketMine(290): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/gsp_1485/g3.hmserv.eu-19144/, string /home/gsp_1485/g3.hmserv.eu-19144/plugins/)
2018-05-28 [12:42:03] [Server thread/DEBUG]: #19 /home/gsp_1485/g3.hmserv.eu-19144/PocketMine-MP.phar(1): require(string phar:/g3.hmserv.eu-19144/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
@teracube

This comment has been minimized.

Copy link
Author

commented May 28, 2018

@teracube

This comment has been minimized.

Copy link
Author

commented May 28, 2018

@DaPigGuy
same issue with latest PocketMine-MP version 1.7dev-1061

DaPigGuy added a commit that referenced this issue May 28, 2018

@DaPigGuy DaPigGuy closed this May 28, 2018

@DaPigGuy DaPigGuy added the fixed/done label May 28, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.