mirror of
https://github.com/Nan1t/NanoLimbo.git
synced 2025-07-12 12:40:14 +02:00
Temporaly commentet world-related code
This commit is contained in:
parent
aac321e182
commit
297c1fa722
@ -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();
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user