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

Could not pass event 'pocketmine\event\entity\EntityLevelChangeEvent' #12

Closed
MHIGists opened this issue Feb 10, 2017 · 2 comments
Closed
Labels

Comments

@MHIGists
Copy link

I get this error please help.

[Server thread/CRITICAL]: "Could not pass event 'pocketmine\event\entity\EntityLevelChangeEvent' to 'TopVoter v2.0.2': Call to undefined method pocketmine\event\entity\EntityLevelChangeEvent::getFrom() on SalmonDE\TopVoter\EventListener
[00:29:02] [Server thread/CRITICAL]: Error: "Call to undefined method pocketmine\event\entity\EntityLevelChangeEvent::getFrom()" (EXCEPTION) in "/TopVoter.phar/src/SalmonDE/TopVoter/EventListener" at line 24
[00:29:02] [Server thread/DEBUG]: #0 /src/pocketmine/plugin/RegisteredListener(96): pocketmine\plugin\MethodEventExecutor->execute(SalmonDE\TopVoter\EventListener object, pocketmine\event\entity\EntityLevelChangeEvent object)
[00:29:02] [Server thread/DEBUG]: #1 /src/pocketmine/plugin/PluginManager(707): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\entity\EntityLevelChangeEvent object)
[00:29:02] [Server thread/DEBUG]: #2 /src/pocketmine/entity/Entity(1278): pocketmine\plugin\PluginManager->callEvent(pocketmine\event\entity\EntityLevelChangeEvent object)
[00:29:02] [Server thread/DEBUG]: #3 /src/pocketmine/Player(744): pocketmine\entity\Entity->switchLevel(pocketmine\level\Level object)
[00:29:02] [Server thread/DEBUG]: #4 /src/pocketmine/entity/Entity(1671): pocketmine\Player->switchLevel(pocketmine\level\Level object)
[00:29:02] [Server thread/DEBUG]: #5 /src/pocketmine/entity/Entity(1611): pocketmine\entity\Entity->setPosition(pocketmine\level\Position Position(level=Spawn,x=998,y=64,z=1005))
[00:29:02] [Server thread/DEBUG]: #6 /src/pocketmine/entity/Entity(1748): pocketmine\entity\Entity->setPositionAndRotation(pocketmine\level\Position Position(level=Spawn,x=998,y=64,z=1005), integer 0, integer 0)
[00:29:02] [Server thread/DEBUG]: #7 /src/pocketmine/Player(4013): pocketmine\entity\Entity->teleport(pocketmine\level\Position Position(level=Spawn,x=998,y=64,z=1005), NULL , NULL )
[00:29:02] [Server thread/DEBUG]: #8 /phar_SkyWars-PocketMine-master_3Jrg54LwUZxHjgj.phar/src/svile/sw/SWarena(490): pocketmine\Player->teleport(pocketmine\level\Position Position(level=Spawn,x=998,y=64,z=1005))
[00:29:02] [Server thread/DEBUG]: #9 /phar_SkyWars-PocketMine-master_3Jrg54LwUZxHjgj.phar/src/svile/sw/SWcommands(140): svile\sw\SWarena->closePlayer(pocketmine\Player Player(4), boolean 1)
[00:29:02] [Server thread/DEBUG]: #10 /phar_SkyWars-PocketMine-master_3Jrg54LwUZxHjgj.phar/src/svile/sw/SWmain(287): svile\sw\SWcommands->onCommand(pocketmine\Player Player(4), pocketmine\command\PluginCommand sw, string sw, array Array())
[00:29:02] [Server thread/DEBUG]: #11 /src/pocketmine/command/PluginCommand(57): svile\sw\SWmain->onCommand(pocketmine\Player Player(4), pocketmine\command\PluginCommand sw, string sw, array Array())
[00:29:02] [Server thread/DEBUG]: #12 /src/pocketmine/command/SimpleCommandMap(276): pocketmine\command\PluginCommand->execute(pocketmine\Player Player(4), string sw, array Array())
[00:29:02] [Server thread/DEBUG]: #13 /src/pocketmine/Server(2083): pocketmine\command\SimpleCommandMap->dispatch(pocketmine\Player Player(4), string sw quit)
[00:29:02] [Server thread/DEBUG]: #14 /src/pocketmine/Player(2998): pocketmine\Server->dispatchCommand(pocketmine\Player Player(4), string sw quit)
[00:29:02] [Server thread/DEBUG]: #15 /src/pocketmine/network/Network(253): pocketmine\Player->handleDataPacket(pocketmine\network\protocol\CommandStepPacket object)
[00:29:02] [Server thread/DEBUG]: #16 /src/pocketmine/Player(2097): pocketmine\network\Network->processBatch(pocketmine\network\protocol\BatchPacket object, pocketmine\Player Player(4))
[00:29:02] [Server thread/DEBUG]: #17 /src/pocketmine/network/RakLibInterface(139): pocketmine\Player->handleDataPacket(pocketmine\network\protocol\BatchPacket object)
[00:29:02] [Server thread/DEBUG]: #18 /src/raklib/server/ServerHandler(94): pocketmine\network\RakLibInterface->handleEncapsulated(string 79.100.202.198:19132, raklib\protocol\EncapsulatedPacket `..M..H.....;x...c*.gOIMK,.)a``......\...J.E..J.V.J...%J\.\.y.99\@.....", integer 0)
[00:29:02] [Server thread/DEBUG]: #19 /src/pocketmine/network/RakLibInterface(74): raklib\server\ServerHandler->handlePacket(boolean)
[00:29:02] [Server thread/DEBUG]: #20 /src/pocketmine/network/Network(156): pocketmine\network\RakLibInterface->process(boolean)
[00:29:02] [Server thread/DEBUG]: #21 /src/pocketmine/Server(2644): pocketmine\network\Network->processInterfaces(boolean)
[00:29:02] [Server thread/DEBUG]: #22 /src/pocketmine/Server(2378): pocketmine\Server->tick(boolean)
[00:29:02] [Server thread/DEBUG]: #23 /src/pocketmine/Server(2256): pocketmine\Server->tickProcessor(boolean)
[00:29:02] [Server thread/DEBUG]: #24 /src/pocketmine/Server(1860): pocketmine\Server->start(boolean)
[00:29:02] [Server thread/DEBUG]: #25 /src/pocketmine/PocketMine(478): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string phar://C:\Users\TheClimbing\Desktop\Genisys_Unsuportted\Genisys.phar/, string C:\Users\TheClimbing\Desktop\Genisys_Unsuportted\, string C:\Users\TheClimbing\Desktop\Genisys_Unsuportted\plugins\)
[00:29:02] [Server thread/DEBUG]: #26 (1): require_once(string phar://C:/Users/TheClimbing/Desktop/Genisys_Unsuportted/Genisys.phar/src/pocketmine/PocketMine.php)
@Aericio Aericio changed the title Error Could not pass event 'pocketmine\event\entity\EntityLevelChangeEvent' Feb 10, 2017
@SalmonDE SalmonDE added the bug label Feb 10, 2017
@SalmonDE
Copy link
Owner

Yeah, my bad, sorry. It's EntityLevelChangeEvent::getOrigin().

SalmonDE added a commit that referenced this issue Feb 10, 2017
@SalmonDE
Copy link
Owner

Tell me if this still occurs. :)

@ShotDead7297 ShotDead7297 mentioned this issue Oct 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants