diff --git a/src/main/java/ru/nanit/limbo/configuration/LimboConfig.java b/src/main/java/ru/nanit/limbo/configuration/LimboConfig.java index f563c78..76d717e 100644 --- a/src/main/java/ru/nanit/limbo/configuration/LimboConfig.java +++ b/src/main/java/ru/nanit/limbo/configuration/LimboConfig.java @@ -82,7 +82,7 @@ public final class LimboConfig { address = conf.node("bind").get(SocketAddress.class); maxPlayers = conf.node("maxPlayers").getInt(); pingData = conf.node("ping").get(PingData.class); - useSchematic = conf.node("world", "enable").getBoolean(false); + //useSchematic = conf.node("world", "enable").getBoolean(false); dimensionType = conf.node("dimension").getString(); spawnPosition = conf.node("spawnPosition").get(Location.class); gameMode = conf.node("gameMode").getInt(); @@ -91,8 +91,8 @@ public final class LimboConfig { useBossBar = conf.node("bossBar", "enable").getBoolean(); useTitle = conf.node("title", "enable").getBoolean(); - if (useSchematic) - schematicPath = Paths.get(conf.node("world", "path").getString("./spawn.schem")); + /*if (useSchematic) + schematicPath = Paths.get(conf.node("world", "path").getString("./spawn.schem"));*/ if(useBrandName) brandName = conf.node("brandName", "content").getString(); diff --git a/src/main/resources/settings.yml b/src/main/resources/settings.yml index c5360ce..e47477d 100644 --- a/src/main/resources/settings.yml +++ b/src/main/resources/settings.yml @@ -16,14 +16,6 @@ ping: description: '{"text": "&9NanoLimbo"}' version: 'NanoLimbo' -# World settings -world: - # Enable schematic loading. - # If false, then player will be spawned in the void - enable: false - # Relative path to schematic file - path: "./spawn.schem" - # Available dimensions: OVERWORLD, NETHER, THE_END dimension: THE_END