Fully fix fairy clock for real this time (#2167)

* Fully fix fairy clock For real this time

* Make it so relogging keeps the time lock state.

* Refactor out questLockTime

* Per Hartie, the client packet needs to be changed too

* Update src/main/java/emu/grasscutter/game/world/World.java

Co-authored-by: Magix <27646710+KingRainbow44@users.noreply.github.com>

* Update src/main/java/emu/grasscutter/server/packet/recv/HandlerClientLockGameTimeNotify.java

* Remove all code not needed to get clock working

---------

Co-authored-by: Magix <27646710+KingRainbow44@users.noreply.github.com>
This commit is contained in:
Nazrin
2023-05-29 23:39:34 -07:00
committed by GitHub
Unverified
parent 911993084e
commit 9b58105120
2 changed files with 0 additions and 3 deletions
@@ -339,7 +339,6 @@ public class Player implements PlayerHook, FieldFetch {
* @param gameTime The new game time.
*/
public void updatePlayerGameTime(long gameTime) {
if (this.getWorld().isTimeLocked()) return;
if (this.playerGameTime == gameTime) return;
// Update the game time.