nsporillo / GlobalWarming

Server side global warming mechanics in Minecraft!
GNU Lesser General Public License v3.0
473 stars 46 forks source link

Multi-world: no climate engine #47

Closed jdewever closed 4 years ago

jdewever commented 4 years ago

Describe the bug When using multiple worlds, as provided by MultiVerse-Core, the plugin spams that it can not find the climate engine for that world. I've tried to duplicate the files of the default world, renaming them after the new world, but no luck, even after restart.

To Reproduce Steps to reproduce the behavior:

  1. Run the plugin on the default world
  2. Create a new world with MultiVerse-core
  3. In the console, you see it spamming "[GlobalWarming] Climate engine not found for world: 'test'"

Expected behavior For the plugin to recognise that it has no configuration for that new world, and creates one for it. While the server runs or on startup.

Screenshots A screenshot of the warning-message https://imgur.com/a/nviWV3K image

Additional context Using Multiverse-core v4.1.0 Spigot 1.14.4

nsporillo commented 4 years ago

This should be fixed with the latest changes in https://github.com/nsporillo/GlobalWarming/commit/040222c7cb27f80c6dcf1ecad85ddf930ea06d3f