It is always day in the nether / end

This commit is contained in:
MistPhizzle 2014-08-07 12:30:09 -04:00
parent f4c4389ff1
commit 55f2cad44d

View file

@ -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;
}