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