9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-22 08:39:14 +00:00

fix issue with bukkit.yml world-container option

This commit is contained in:
ColorsWind
2023-01-05 15:57:36 +08:00
parent 00aa26e602
commit 497c24a3b6
6 changed files with 8 additions and 7 deletions

View File

@@ -684,7 +684,7 @@ public class Iris extends VolmitPlugin implements Listener {
.name(worldName)
.seed(1337)
.environment(dim.getEnvironment())
.worldFolder(new File(worldName))
.worldFolder(new File(Bukkit.getWorldContainer(), worldName))
.minHeight(dim.getMinHeight())
.maxHeight(dim.getMaxHeight())
.build();