9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-26 18:49:06 +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

@@ -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());