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
|
@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);
|
||||||
|
if (IrisSettings.get().getStudio().isDisableTimeAndWeather()) {
|
||||||
world.setGameRule(GameRule.DO_WEATHER_CYCLE, false);
|
world.setGameRule(GameRule.DO_WEATHER_CYCLE, false);
|
||||||
world.setGameRule(GameRule.DO_DAYLIGHT_CYCLE, false);
|
world.setGameRule(GameRule.DO_DAYLIGHT_CYCLE, false);
|
||||||
world.setTime(6000);
|
world.setTime(6000);
|
||||||
|
}
|
||||||
Iris.linkMultiverseCore.removeFromConfig(world);
|
Iris.linkMultiverseCore.removeFromConfig(world);
|
||||||
|
|
||||||
done.set(true);
|
done.set(true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user