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

Crash /hg add #91

Open
WHOAMI74 opened this issue Jun 29, 2019 · 1 comment
Open

Crash /hg add #91

WHOAMI74 opened this issue Jun 29, 2019 · 1 comment

Comments

@WHOAMI74
Copy link

[01:37:39] [Server thread/CRITICAL]: InvalidStateException: "The default world cannot be unloaded while running, please switch worlds." (EXCEPTION) in "src/pocketmine/Server" at line 1049
[01:37:39] [Server thread/DEBUG]: #0 plugins/HungerGames_dev-33.phar/src/hungergames/obj/HungerGames(204): pocketmine\Server->unloadLevel(object pocketmine\level\Level)
[01:37:39] [Server thread/DEBUG]: #1 plugins/HungerGames_dev-33.phar/src/hungergames/lib/mgr/GlobalManager(34): hungergames\obj\HungerGames->createGameLevelBackup()
[01:37:39] [Server thread/DEBUG]: #2 plugins/HungerGames_dev-33.phar/src/hungergames/command/HGCommand(73): hungergames\lib\mgr\GlobalManager->load(object hungergames\obj\HungerGames)
[01:37:39] [Server thread/DEBUG]: #3 src/pocketmine/command/SimpleCommandMap(270): hungergames\command\HGCommand->execute(object pocketmine\Player, string[2] hg, array[2])
[01:37:39] [Server thread/DEBUG]: #4 src/pocketmine/Server(2019): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\Player, string[11] hg add Wood)
[01:37:39] [Server thread/DEBUG]: #5 src/pocketmine/Player(2231): pocketmine\Server->dispatchCommand(object pocketmine\Player, string[11] hg add Wood)
[01:37:39] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(240): pocketmine\Player->chat(string[12] /hg add Wood)
[01:37:39] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket)
[01:37:39] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[01:37:39] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/protocol/BatchPacket(123): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket)
[01:37:39] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[01:37:39] [Server thread/DEBUG]: #11 src/pocketmine/Player(3124): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[01:37:39] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[01:37:39] [Server thread/DEBUG]: #13 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[17] 192.168.1.3 46704, object raklib\protocol\EncapsulatedPacket, integer 0)
[01:37:39] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
[01:37:39] [Server thread/DEBUG]: #15 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
[01:37:39] [Server thread/DEBUG]: #16 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}()
[01:37:39] [Server thread/DEBUG]: #17 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
[01:37:39] [Server thread/DEBUG]: #18 src/pocketmine/Server(2338): pocketmine\snooze\SleeperHandler->sleepUntil(double 1561772259.1954)
[01:37:39] [Server thread/DEBUG]: #19 src/pocketmine/Server(2195): pocketmine\Server->tickProcessor()
[01:37:39] [Server thread/DEBUG]: #20 src/pocketmine/Server(1774): pocketmine\Server->start()
[01:37:39] [Server thread/DEBUG]: #21 src/pocketmine/PocketMine(266): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[34] /storage/emulated/0/PocketMine-MP/, string[42] /storage/emulated/0/PocketMine-MP/plugins/)
[01:37:39] [Server thread/DEBUG]: #22 (1): require(string[89] phar:///storage/emulated/0/PocketMine-MP/PocketMine-MP.phar/src/pocketmine/Pocke)

Crash after i type /hg add Wood

@Swaggpvp
Copy link

Swaggpvp commented Aug 4, 2019

This happened to me also but i figured out the solution. When you do /hg add Wood your not specifying a world so it automatically chooses the default world "world". All you need to do is turn off the server, go /plugin_data/HungerGames/arenas/ and go into the arena config and change the world name from "world" to the world you want the match to be held in.

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

2 participants