Closed ItzBlue72 closed 4 years ago
How did you manage to run a command while not existing in a world??
Not sure what you mean. The other player and I were both in the plot world and ran the commands which caused a client-side crash.
This error doesn't occur with versions prior to 3.13.0 I should mention
ohhh wait yea that was a bug I patched a while ago. its just not released yet.
This is still happening to me. Is it possible this has to do with multi-world or having more than one world in general? Here is the the error message:
[04:32:12] [Server thread/CRITICAL]: pocketmine\utils\AssumptionFailedError: "Position world is null" (EXCEPTION) in "src/pocketmine/level/Position" at line 83
[04:32:12] [Server thread/DEBUG]: #0 src/pocketmine/entity/Entity(1859): pocketmine\level\Position->getLevelNonNull()
[04:32:12] [Server thread/DEBUG]: #1 src/pocketmine/Player(3854): pocketmine\entity\Entity->teleport(object pocketmine\level\Position, NULL , NULL )
[04:32:12] [Server thread/DEBUG]: #2 plugins/MyPlot.phar/src/MyPlot/MyPlot(959): pocketmine\Player->teleport(object pocketmine\level\Position)
[04:32:12] [Server thread/DEBUG]: #3 plugins/MyPlot.phar/src/MyPlot/MyPlot(465): MyPlot\MyPlot->teleportMiddle(object pocketmine\Player, object MyPlot\Plot)
[04:32:12] [Server thread/DEBUG]: #4 plugins/MyPlot.phar/src/MyPlot/subcommand/MiddleSubCommand(39): MyPlot\MyPlot->teleportPlayerToPlot(object pocketmine\Player, object MyPlot\Plot, boolean 1)
[04:32:12] [Server thread/DEBUG]: #5 plugins/MyPlot.phar/src/MyPlot/Commands(232): MyPlot\subcommand\MiddleSubCommand->execute(object pocketmine\Player, array[0])
[04:32:12] [Server thread/DEBUG]: #6 src/pocketmine/command/SimpleCommandMap(248): MyPlot\Commands->execute(object pocketmine\Player, string[1] p, array[0])
[04:32:12] [Server thread/DEBUG]: #7 src/pocketmine/Server(1808): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\Player, string[8] p middle)
[04:32:12] [Server thread/DEBUG]: #8 src/pocketmine/Player(2283): pocketmine\Server->dispatchCommand(object pocketmine\Player, string[8] p middle)
[04:32:12] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(131): pocketmine\Player->chat(string[10] ./p middle)
[04:32:12] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/protocol/TextPacket(123): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleText(object pocketmine\network\mcpe\protocol\TextPacket)
[04:32:12] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\TextPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[04:32:12] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/protocol/BatchPacket(126): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\TextPacket)
[04:32:12] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[04:32:12] [Server thread/DEBUG]: #14 src/pocketmine/Player(3187): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[04:32:12] [Server thread/DEBUG]: #15 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[04:32:12] [Server thread/DEBUG]: #16 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[18] [personal data], object raklib\protocol\EncapsulatedPacket, integer 0)
[04:32:12] [Server thread/DEBUG]: #17 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
[04:32:12] [Server thread/DEBUG]: #18 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
[04:32:12] [Server thread/DEBUG]: #19 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
[04:32:12] [Server thread/DEBUG]: #20 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
[04:32:12] [Server thread/DEBUG]: #21 src/pocketmine/Server(2154): pocketmine\snooze\SleeperHandler->sleepUntil(double 1591849932.2533)
[04:32:12] [Server thread/DEBUG]: #22 src/pocketmine/Server(1991): pocketmine\Server->tickProcessor()
[04:32:12] [Server thread/DEBUG]: #23 src/pocketmine/Server(1585): pocketmine\Server->start()
[04:32:12] [Server thread/DEBUG]: #24 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
[04:32:12] [Server thread/DEBUG]: #25 src/pocketmine/PocketMine(296): pocketmine\server()
[04:32:12] [Server thread/DEBUG]: #26 (11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
[04:32:12] [Server thread/INFO]: ItzBlue72 has left the game.
/p auto
[04:33:15] [Server thread/CRITICAL]: pocketmine\utils\AssumptionFailedError: "Position world is null" (EXCEPTION) in "src/pocketmine/level/Position" at line 83
[04:33:15] [Server thread/DEBUG]: #0 src/pocketmine/entity/Entity(1859): pocketmine\level\Position->getLevelNonNull()
[04:33:15] [Server thread/DEBUG]: #1 src/pocketmine/Player(3854): pocketmine\entity\Entity->teleport(object pocketmine\level\Position, NULL , NULL )
[04:33:15] [Server thread/DEBUG]: #2 plugins/MyPlot.phar/src/MyPlot/MyPlot(959): pocketmine\Player->teleport(object pocketmine\level\Position)
[04:33:15] [Server thread/DEBUG]: #3 plugins/MyPlot.phar/src/MyPlot/MyPlot(465): MyPlot\MyPlot->teleportMiddle(object pocketmine\Player, object MyPlot\Plot)
[04:33:15] [Server thread/DEBUG]: #4 plugins/MyPlot.phar/src/MyPlot/subcommand/AutoSubCommand(33): MyPlot\MyPlot->teleportPlayerToPlot(object pocketmine\Player, object MyPlot\Plot, boolean 1)
[04:33:15] [Server thread/DEBUG]: #5 plugins/MyPlot.phar/src/MyPlot/Commands(232): MyPlot\subcommand\AutoSubCommand->execute(object pocketmine\Player, array[0])
[04:33:15] [Server thread/DEBUG]: #6 src/pocketmine/command/SimpleCommandMap(248): MyPlot\Commands->execute(object pocketmine\Player, string[1] p, array[0])
[04:33:15] [Server thread/DEBUG]: #7 src/pocketmine/Server(1808): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\Player, string[6] p auto)
[04:33:15] [Server thread/DEBUG]: #8 src/pocketmine/Player(2283): pocketmine\Server->dispatchCommand(object pocketmine\Player, string[6] p auto)
[04:33:15] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(131): pocketmine\Player->chat(string[8] ./p auto)
[04:33:15] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/protocol/TextPacket(123): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleText(object pocketmine\network\mcpe\protocol\TextPacket)
[04:33:15] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\TextPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[04:33:15] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/protocol/BatchPacket(126): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\TextPacket)
[04:33:15] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[04:33:15] [Server thread/DEBUG]: #14 src/pocketmine/Player(3187): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[04:33:15] [Server thread/DEBUG]: #15 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[04:33:15] [Server thread/DEBUG]: #16 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[18] [personal data], object raklib\protocol\EncapsulatedPacket, integer 0)
[04:33:15] [Server thread/DEBUG]: #17 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
[04:33:15] [Server thread/DEBUG]: #18 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
[04:33:15] [Server thread/DEBUG]: #19 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
[04:33:15] [Server thread/DEBUG]: #20 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
[04:33:15] [Server thread/DEBUG]: #21 src/pocketmine/Server(2154): pocketmine\snooze\SleeperHandler->sleepUntil(double 1591849995.0532)
[04:33:15] [Server thread/DEBUG]: #22 src/pocketmine/Server(1991): pocketmine\Server->tickProcessor()
[04:33:15] [Server thread/DEBUG]: #23 src/pocketmine/Server(1585): pocketmine\Server->start()
[04:33:15] [Server thread/DEBUG]: #24 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
[04:33:15] [Server thread/DEBUG]: #25 src/pocketmine/PocketMine(296): pocketmine\server()
[04:33:15] [Server thread/DEBUG]: #26 (11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
[04:33:15] [Server thread/INFO]: ItzBlue72 has left the game.
^Again, still in the world while running the command.
And yes this is with the latest version of MyPlot (1.7.0)
Pls fix them this is a Big problem users cant search a plot or cant to warp to the middle from plot
Pls jason this is a High Priority now the users from server They're being kicked all the time just because they wanted to look for a plot
I can confirm that as of https://github.com/jasonwynn10/MyPlot/commit/d2446044efb2f2db1015eeb49586d55b17483f8e, the problem is fixed. I am testing PocketMine-MP 3.13.0 with https://poggit.pmmp.io/r/92352/MyPlot_dev-593.phar and am no longer seeing this error.
Why is this issue still open?
Issue description
The new PocketMine 3.13.0 update breaks commands such as /p auto and /p middle.
Steps to reproduce the issue
OS and versions
Other Plugins
Plugins (41): DoorBell v1.0.0, essentialsTP v1.2.2, JukeBox v1.0.1, MaxEnchants v1.2.1, VanishV2 v1.7, MailPlugin v3.5, WorldBackup v1.0, AllSigns v1.0.13, RenameItems v1.1, iProtector v3.1.1, aDvaNceDmOcK v0.0.1, WorldStyler v1.1, PlayerSelectors v1.0.7, GroupsUI v1.0.0, GrapplingHook v1.0.3, Broadcaster v1.5, VanillaCoordinates v1.0.0, DEVirion v1.2.7, BanItem v2.3.3, OnlineTime v1.3, Slapper v1.5.30, StaffChat v1.1.4, PurePerms v1.4.3, MCPEToDiscord v1.4.1, PureChat v1.4.11, WorldProtect v2.3.8, MultiWorld v1.5.2, Backpack v0.2.1, PlayerAdmin v1.0.0, ShulkerBox v1.0.1, LockMyStuff v1.1.0, BuilderTools v1.2.0-beta2, DevTools v1.14.0, SizePlayer v1.1.0, CustomAlerts v2.1, ChatMuffler v1.1.0, AutoClearLagg v3.0.1, ServerChannels v2.3, MyPlot v1.7.0, BlockSniper v3.2.3, BedcoreProtect v0.6.2
Crashdump, backtrace or other files