Fix syntax error: missing closing paren in ManageNPCMsg timer writes

This commit is contained in:
2026-10-06 17:23:52 -05:00
parent 93eb77fcc8
commit 92a888d618
+2 -2
View File
@@ -211,7 +211,7 @@ public class ManageNPCMsg extends ClientNetMsg {
writer.put((byte) (int) ((npcUpgradeSec % 86400) / 3600)); //for timer
writer.put((byte) (int) ((npcUpgradeSec % 3600) / 60)); //for timer
writer.put((byte) (int) (npcUpgradeSec % 60); //for timer
writer.put((byte) (int) (npcUpgradeSec % 60)); //for timer
if (npc.isRanking() && npc.getUpgradeDateTime().isAfter(java.time.Instant.now()))
upgradePeriodInSeconds = (int) npcUpgradeSec;
@@ -620,7 +620,7 @@ public class ManageNPCMsg extends ClientNetMsg {
writer.put((byte) (int) ((mobUpgradeSec % 86400) / 3600)); //for timer
writer.put((byte) (int) ((mobUpgradeSec % 3600) / 60)); //for timer
writer.put((byte) (int) (mobUpgradeSec % 60); //for timer
writer.put((byte) (int) (mobUpgradeSec % 60)); //for timer
if (mobA.isRanking() && mobA.getUpgradeDateTime().isAfter(java.time.Instant.now()))
upgradePeriodInSeconds = (int) mobUpgradeSec;