Solved Possible to getEnvironment() from WorldContainer?

Discussion in 'Spigot Plugin Development' started by Th3_DoC, Feb 18, 2020.

  1. I noticed that WorldCreator will occasionally load an existing world, into a Normal Environment, that should be Nether or the end. My first instinct was to get the environment, but I can't see an obvious way Todo this through the WorldContainer prior to loading the world. Any help/ideas is much appreciated, aside from the obvious storing it prior. Another plugin may have created it between the last world list refresh, allowing a simple /reload to break the world.
     
  2. md_5

    Administrator Developer

    Generally you have to store this information as part of wherever you're configuring your multi worlds
     
  3. I figured this would be the only way seeing as multiverse imports world's and has a "safe load" list ... It was a reach in the dark. Thanks for confirming @md_5 looks like I need to re-write some stuff :/