Fix syntax error: missing closing paren in ManageNPCMsg timer writes
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user