forked from GeyserMC/Geyser
Small change
This commit is contained in:
parent
1714445df9
commit
35a16996b5
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue