Small change

This commit is contained in:
DoctorMacc 2020-04-13 10:58:10 -04:00
parent 1714445df9
commit 35a16996b5

View file

@ -59,7 +59,7 @@ public class JavaUpdateTimeTranslator extends PacketTranslator<ServerUpdateTimeP
// TODO: Performance efficient to always do this?
lastRecordedTimes.put(session.getPlayerEntity().getEntityId(), time);
}
if (lastTime < 0 && time > 0) {
if (lastTime < 0 && time >= 0) {
setDoDayLightGamerule(session, true);
} else if (lastTime != time && time < 0) {
setDoDayLightGamerule(session, false);