fix issue with bukkit.yml world-container option

This commit is contained in:
ColorsWind committed 2023-01-05 15:58:57 +08:00
1 parent 00aa26e602
commit 497c24a3b6
6 files changed
+8 -7

No files matched your search

@@ -108,7 +108,7 @@ public class IrisWorld {
public void bind(WorldInfo worldInfo) {
name(worldInfo.getName())
.worldFolder(new File(worldInfo.getName()))
.worldFolder(new File(Bukkit.getWorldContainer(), worldInfo.getName()))
.minHeight(worldInfo.getMinHeight())
.maxHeight(worldInfo.getMaxHeight())
.environment(worldInfo.getEnvironment());