fix /settime response not printing single digit minute values with leading zero

This commit is contained in:
Resaec 2026-04-29 23:29:43 +02:00
parent 7396b09998
commit 29b144a903

View file

@ -1444,7 +1444,7 @@ class ChatOperations(
AvatarAction.SendResponse(Service.defaultPlayerGUID, msg)
)
sendResponse(ChatMsg(messageType = UNK_227, contents = s"@CMT_SETTIME_OK^$hh~^$mm~"))
sendResponse(ChatMsg(messageType = UNK_227, contents = f"@CMT_SETTIME_OK^$hh~^$mm%02d~"))
case _ =>
sendResponse(ChatMsg(messageType = UNK_229, contents = "@CMT_SETTIME_usage"))
}