vecnavium-pm-pl / SkyBlocksPM

A SkyBlocks plugin for PocketMine-MP, with many features to offer.
https://poggit.pmmp.io/p/SkyBlocksPM
GNU General Public License v3.0
18 stars 7 forks source link

Crash #44

Closed Astro-PM closed 1 year ago

Astro-PM commented 1 year ago

Describe the bug A clear and concise description of what the bug is.



PocketMine-MP version: 4.19.2 [Protocol 575]
Git commit: a534ac759ab1d13c50de8f5728ed28612a6dd019
PHP version: 8.0.28
OS: Linux, linux

A PLUGIN WAS INVOLVED IN THIS CRASH
BAD PLUGIN: SkyBlocksWp

Error: Position world is null or has been unloaded
File: pmsrc/src/world/Position
Line: 70
Type: pocketmine\utils\AssumptionFailedError
Backtrace:
#0 pmsrc/src/entity/Entity(1450): pocketmine\world\Position->getWorld()
#1 pmsrc/src/player/Player(2484): pocketmine\entity\Entity->teleport(object pocketmine\world\Position#194614, null, null)
#2 plugins/SkyBlocksPM-1.0.9/src/Vecnavium/SkyBlocksPM/commands/subcommands/TpSubCommand(31): pocketmine\player\Player->teleport(object pocketmine\world\Position#194614)
#3 plugins/SkyBlocksPM-1.0.9/src/Vecnavium/SkyBlocksPM/libs/CortexPE/Commando/BaseCommand(143): Vecnavium\SkyBlocksPM\commands\subcommands\TpSubCommand->onRun(object Stats\player\MagicPlayer#179943, string[2] is, array[0])
#4 pmsrc/src/command/SimpleCommandMap(205): Vecnavium\SkyBlocksPM\libs\CortexPE\Commando\BaseCommand->execute(object Stats\player\MagicPlayer#179943, string[2] is, array[0])
#5 pmsrc/src/Server(1422): pocketmine\command\SimpleCommandMap->dispatch(object Stats\player\MagicPlayer#179943, string[5] is tp)
#6 plugins/LunarCorev3 (1)/src/Lunar/Core/Listener/EventListener(176): pocketmine\Server->dispatchCommand(object Stats\player\MagicPlayer#179943, string[5] is tp)
#7 pmsrc/src/event/RegisteredListener(60): Lunar\Core\Listener\EventListener->onMove(object pocketmine\event\player\PlayerMoveEvent#191238)
#8 pmsrc/src/event/Event(63): pocketmine\event\RegisteredListener->callEvent(object pocketmine\event\player\PlayerMoveEvent#191238)
#9 pmsrc/src/player/Player(1332): pocketmine\event\Event->call()
#10 pmsrc/src/player/Player(1424): pocketmine\player\Player->processMostRecentMovements()
#11 pmsrc/src/world/World(988): pocketmine\player\Player->onUpdate(int 1087502)```
**To Reproduce**
Steps to reproduce the behavior:
Type /is tp 

**Expected behavior**
A clear and concise description of what you expected to happen.
**SkyBlocksPM plugin information**

- Plugin Version: [e.g. 1.0.0]
Latest

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional context**
Add any other context about the problem here.
Astro-PM commented 1 year ago

Fix it