Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-03 14:50:19 +01:00
Small change
Dieser Commit ist enthalten in:
Ursprung
1714445df9
Commit
35a16996b5
@ -59,7 +59,7 @@ public class JavaUpdateTimeTranslator extends PacketTranslator<ServerUpdateTimeP
|
|||||||
// TODO: Performance efficient to always do this?
|
// TODO: Performance efficient to always do this?
|
||||||
lastRecordedTimes.put(session.getPlayerEntity().getEntityId(), time);
|
lastRecordedTimes.put(session.getPlayerEntity().getEntityId(), time);
|
||||||
}
|
}
|
||||||
if (lastTime < 0 && time > 0) {
|
if (lastTime < 0 && time >= 0) {
|
||||||
setDoDayLightGamerule(session, true);
|
setDoDayLightGamerule(session, true);
|
||||||
} else if (lastTime != time && time < 0) {
|
} else if (lastTime != time && time < 0) {
|
||||||
setDoDayLightGamerule(session, false);
|
setDoDayLightGamerule(session, false);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren