rutgerkok / Pokkit

Nukkit plugin that is able to load Bukkit plugins. Bring your Bukkit plugins to Minecraft PE!
Other
79 stars 27 forks source link

Server#createWorld fails if the world was already generated #82

Closed RaynLegends closed 7 years ago

RaynLegends commented 7 years ago

Steps to reproduce:

  1. Invoke Server#createWorld
  2. Restart the server
  3. Invoke Server#createWorld with the same name

The following RuntimeException is thrown: java.lang.RuntimeException: Failed to create world worldname

The normal behaviour would be loading the preaviously generated world.