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

Lacking compatibility with plugins that add new worlds #85

Closed
jasonw4331 opened this issue Apr 6, 2022 · 0 comments
Closed

Lacking compatibility with plugins that add new worlds #85

jasonw4331 opened this issue Apr 6, 2022 · 0 comments
Labels

Comments

@jasonw4331
Copy link
Contributor

❗️ Please describe the issue

Plugin Crashes when attempting to handle virtual worlds (Worlds without a dedicated world folder).

--- Stack trace ---

#0 pmsrc/src/utils/Config(246): pocketmine\utils\Filesystem::safeFilePutContents(string[45] /home/gs-40319/worlds/world nether/worlds.yml, string[11] --- [].....)

#1 pmsrc/src/utils/Config(166): pocketmine\utils\Config->save()

#2 pmsrc/src/utils/Config(121): pocketmine\utils\Config->load(string[45] /home/gs-40319/worlds/world nether/worlds.yml, integer -1, array[0])

#3 plugins/Worlds (4).phar/src/surva/worlds/Worlds(215): pocketmine\utils\Config->construct(string[45] /home/gs-40319/worlds/world nether/worlds.yml)

#4 plugins/Worlds (4).phar/src/surva/worlds/Worlds(150): surva\worlds\Worlds->getCustomConfig(string[45] /home/gs-40319/worlds/world nether/worlds.yml)

#5 plugins/Worlds (4).phar/src/surva/worlds/Worlds(65): surva\worlds\Worlds->registerWorld(string[12] world nether)

#6 pmsrc/src/plugin/PluginBase(137): surva\worlds\Worlds->onEnable()

#7 pmsrc/src/plugin/PluginManager(437): pocketmine\plugin\PluginBase->onEnableStateChange(true)

#8 pmsrc/src/Server(1385): pocketmine\plugin\PluginManager->enablePlugin(object surva\worlds\Worlds#25348)

#9 pmsrc/src/Server(1011): pocketmine\Server->enablePlugins(object pocketmine\plugin\PluginEnableOrder#24921)

#10 pmsrc/src/PocketMine(304): pocketmine\Server->construct(object BaseClassLoader#3, object pocketmine\utils\MainLogger#2, string[15] /home/gs-40319/, string[23] /home/gs-40319/plugins/)

#11 pmsrc/src/PocketMine(327): pocketmine\server()

#12 pmsrc(11): require(string[83] phar:///pro/bin/mcpe/pocketmine-1.18.10-4.2.0/PocketMine-MP.phar/src/PocketMine.)

--- End of exception information ---

✅ How should it usually work?

Plugin should operate normally

🗂 Steps to reproduce

  1. Add a plugin that uses virtual worlds (like NativeDimensions)
  2. Start the server

🌱 Environment

Version of this plugin: v3.1.1
Version of PocketMine-MP: 4.2.6

@jasonw4331 jasonw4331 added the bug label Apr 6, 2022
@jasonw4331 jasonw4331 mentioned this issue Apr 6, 2022
@jarne jarne closed this as completed in 51b65c4 Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant