mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 11:40:40 +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) {
|
||||
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