mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
You got it
This commit is contained in:
parent
7d05450244
commit
b67ab5ecd3
@ -126,6 +126,9 @@ public class IrisSettings
|
||||
|
||||
@DontObfuscate
|
||||
public boolean openVSCode = true;
|
||||
|
||||
@DontObfuscate
|
||||
public boolean disableTimeAndWeather = true;
|
||||
}
|
||||
|
||||
public static IrisSettings get()
|
||||
|
@ -189,9 +189,11 @@ public class IrisProject
|
||||
|
||||
//@builder
|
||||
World world = INMS.get().createWorld(c);
|
||||
world.setGameRule(GameRule.DO_WEATHER_CYCLE, false);
|
||||
world.setGameRule(GameRule.DO_DAYLIGHT_CYCLE, false);
|
||||
world.setTime(6000);
|
||||
if (IrisSettings.get().getStudio().isDisableTimeAndWeather()) {
|
||||
world.setGameRule(GameRule.DO_WEATHER_CYCLE, false);
|
||||
world.setGameRule(GameRule.DO_DAYLIGHT_CYCLE, false);
|
||||
world.setTime(6000);
|
||||
}
|
||||
Iris.linkMultiverseCore.removeFromConfig(world);
|
||||
|
||||
done.set(true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user