mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-23 01:22:54 +00:00
Re-add call to Player#updatePlayerGameTime
This commit is contained in:
parent
5e3acab116
commit
de5fd49d93
@ -16,6 +16,7 @@ public class HandlerSkipPlayerGameTimeReq extends PacketHandler {
|
|||||||
var player = session.getPlayer();
|
var player = session.getPlayer();
|
||||||
|
|
||||||
var newTime = req.getGameTime() * 1000L;
|
var newTime = req.getGameTime() * 1000L;
|
||||||
|
player.updatePlayerGameTime(newTime);
|
||||||
player.getScene().broadcastPacket(new PacketPlayerGameTimeNotify(player));
|
player.getScene().broadcastPacket(new PacketPlayerGameTimeNotify(player));
|
||||||
player.sendPacket(new PacketSkipPlayerGameTimeRsp(req));
|
player.sendPacket(new PacketSkipPlayerGameTimeRsp(req));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user