Re-add call to Player#updatePlayerGameTime

This commit is contained in:
KingRainbow44 2023-05-11 00:51:57 -04:00
parent 5e3acab116
commit de5fd49d93
No known key found for this signature in database
GPG Key ID: FC2CB64B00D257BE

View File

@ -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));
} }