mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 19:50:37 +00:00
It is always day in the nether / end
This commit is contained in:
parent
f4c4389ff1
commit
55f2cad44d
1 changed files with 1 additions and 0 deletions
|
@ -957,6 +957,7 @@ public class Methods {
|
||||||
|
|
||||||
public static boolean isDay(World world) {
|
public static boolean isDay(World world) {
|
||||||
long time = world.getTime();
|
long time = world.getTime();
|
||||||
|
if (world.getEnvironment() == Environment.NETHER || world.getEnvironment() == Environment.THE_END) return true;
|
||||||
if (time >= 23500 || time <= 12500) {
|
if (time >= 23500 || time <= 12500) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue