diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/net/elytrium/limboauth/LimboAuth.java | 2 | ||||
-rw-r--r-- | src/main/java/net/elytrium/limboauth/Settings.java | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/net/elytrium/limboauth/LimboAuth.java b/src/main/java/net/elytrium/limboauth/LimboAuth.java index 373e96c..d0345fc 100644 --- a/src/main/java/net/elytrium/limboauth/LimboAuth.java +++ b/src/main/java/net/elytrium/limboauth/LimboAuth.java @@ -345,7 +345,7 @@ public class LimboAuth { } Settings.MAIN.WORLD_COORDS coords = Settings.IMP.MAIN.WORLD_COORDS; - file.toWorld(this.factory, authWorld, coords.X, coords.Y, coords.Z); + file.toWorld(this.factory, authWorld, coords.X, coords.Y, coords.Z, Settings.IMP.MAIN.WORLD_LIGHT_LEVEL); } catch (IOException e) { e.printStackTrace(); } diff --git a/src/main/java/net/elytrium/limboauth/Settings.java b/src/main/java/net/elytrium/limboauth/Settings.java index 23b7215..7a1a29c 100644 --- a/src/main/java/net/elytrium/limboauth/Settings.java +++ b/src/main/java/net/elytrium/limboauth/Settings.java @@ -130,6 +130,9 @@ public class Settings extends YamlConfig { @Comment("World time in ticks (24000 ticks == 1 in-game day)") public long WORLD_TICKS = 1000L; + @Comment("World light level (from 0 to 15)") + public int WORLD_LIGHT_LEVEL = 15; + @Comment("Available: ADVENTURE, CREATIVE, SURVIVAL, SPECTATOR") public String GAME_MODE = "ADVENTURE"; |