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

The game fails when user falls #70

Open
and7ey opened this issue May 14, 2020 · 0 comments
Open

The game fails when user falls #70

and7ey opened this issue May 14, 2020 · 0 comments

Comments

@and7ey
Copy link

and7ey commented May 14, 2020

Name

There is some unhandled death event in the code.

Description:

Here is the log -

2020-05-14 [11:31:10] [Server thread/CRITICAL]: Error: "Call to a member function getSpawnLocation() on null" (EXCEPTION) in "plugins/SkyWars.phar/src/vixikhd/skywars/arena/Arena" at line 184
--
87 | 2020-05-14 [11:31:10] [Server thread/DEBUG]: #0 plugins/SkyWars.phar/src/vixikhd/skywars/arena/Arena(406): vixikhd\skywars\arena\Arena->disconnectPlayer(object pocketmine\Player, string[0] , boolean 1)
88 | 2020-05-14 [11:31:10] [Server thread/DEBUG]: #1 src/pocketmine/plugin/MethodEventExecutor(42): vixikhd\skywars\arena\Arena->onDeath(object pocketmine\event\player\PlayerDeathEvent)
89 | 2020-05-14 [11:31:10] [Server thread/DEBUG]: #2 src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object vixikhd\skywars\arena\Arena, object pocketmine\event\player\PlayerDeathEvent)
90 | 2020-05-14 [11:31:10] [Server thread/DEBUG]: #3 src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\player\PlayerDeathEvent)
91 | 2020-05-14 [11:31:10] [Server thread/DEBUG]: #4 src/pocketmine/Player(3621): pocketmine\event\Event->call()
92 | 2020-05-14 [11:31:10] [Server thread/DEBUG]: #5 src/pocketmine/entity/Living(610): pocketmine\Player->onDeath()
93 | 2020-05-14 [11:31:10] [Server thread/DEBUG]: #6 src/pocketmine/Player(3610): pocketmine\entity\Living->kill()
94 | 2020-05-14 [11:31:10] [Server thread/DEBUG]: #7 src/pocketmine/entity/Entity(975): pocketmine\Player->kill()
95 | 2020-05-14 [11:31:10] [Server thread/DEBUG]: #8 src/pocketmine/entity/Living(146): pocketmine\entity\Entity->setHealth(double 0)
96 | 2020-05-14 [11:31:10] [Server thread/DEBUG]: #9 src/pocketmine/entity/Entity(932): pocketmine\entity\Living->setHealth(double 0)
97 | 2020-05-14 [11:31:10] [Server thread/DEBUG]: #10 src/pocketmine/entity/Living(545): pocketmine\entity\Entity->attack(object pocketmine\event\entity\EntityDamageEvent)
98 | 2020-05-14 [11:31:10] [Server thread/DEBUG]: #11 src/pocketmine/Player(3708): pocketmine\entity\Living->attack(object pocketmine\event\entity\EntityDamageEvent)
99 | 2020-05-14 [11:31:10] [Server thread/DEBUG]: #12 src/pocketmine/entity/Entity(1025): pocketmine\Player->attack(object pocketmine\event\entity\EntityDamageEvent)
100 | 2020-05-14 [11:31:10] [Server thread/DEBUG]: #13 src/pocketmine/entity/Living(648): pocketmine\entity\Entity->entityBaseTick(integer 1)
101 | 2020-05-14 [11:31:10] [Server thread/DEBUG]: #14 src/pocketmine/entity/Human(627): pocketmine\entity\Living->entityBaseTick(integer 1)
102 | 2020-05-14 [11:31:10] [Server thread/DEBUG]: #15 src/pocketmine/Player(1711): pocketmine\entity\Human->entityBaseTick(integer 1)
103 | 2020-05-14 [11:31:10] [Server thread/DEBUG]: #16 src/pocketmine/level/Level(844): pocketmine\Player->onUpdate(integer 31162)
104 | 2020-05-14 [11:31:10] [Server thread/DEBUG]: #17 src/pocketmine/level/Level(777): pocketmine\level\Level->actuallyDoTick(integer 31162)
105 | 2020-05-14 [11:31:10] [Server thread/DEBUG]: #18 src/pocketmine/Server(2256): pocketmine\level\Level->doTick(integer 31162)
106 | 2020-05-14 [11:31:10] [Server thread/DEBUG]: #19 src/pocketmine/Server(2387): pocketmine\Server->checkTickUpdates(integer 31162, double 1589445070.5225)
107 | 2020-05-14 [11:31:10] [Server thread/DEBUG]: #20 src/pocketmine/Server(2143): pocketmine\Server->tick()
108 | 2020-05-14 [11:31:10] [Server thread/DEBUG]: #21 src/pocketmine/Server(1990): pocketmine\Server->tickProcessor()
109 | 2020-05-14 [11:31:10] [Server thread/DEBUG]: #22 src/pocketmine/Server(1584): pocketmine\Server->start()
110 | 2020-05-14 [11:31:10] [Server thread/DEBUG]: #23 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /aternos/server/, string[24] /aternos/server/plugins/)
111 | 2020-05-14 [11:31:10] [Server thread/DEBUG]: #24 src/pocketmine/PocketMine(296): pocketmine\server()
112 | 2020-05-14 [11:31:10] [Server thread/DEBUG]: #25 (11): require(string[64] phar:///aternos/server/server.phar/src/pocketmine/PocketMine.php)
113 | 2020-05-14 [11:31:10] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed. Creating a crash dump
114 | 2020-05-14 [11:31:10] [Server thread/EMERGENCY]: Please upload the "/aternos/server/crashdumps/Thu_May_14-11.31.10-MSK_2020.log" file to the Crash Archive and submit the link to the Bug Reporting page. Give as much info as you can.
115 | 2020-05-14 [11:31:10] [Server thread/EMERGENCY]: The crash dump has been automatically submitted to the Crash Archive. You can view it on https://crash.pmmp.io/view/4166736 or use the ID #4166736.

Server version:

I am running the game on Aternos server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant