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