From b28a69daadae7560afe372c30c1c13cf9cfea2cc Mon Sep 17 00:00:00 2001 From: "DESKTOP-C3M45P4\\dengdan" Date: Tue, 21 Apr 2026 22:47:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=A4=9A=E9=98=9F=E5=A5=96?= =?UTF-8?q?=E5=8A=B1=E4=B8=BA30=E5=88=86=E9=92=9F=E4=BA=A7=E5=87=BA1?= =?UTF-8?q?=E6=AC=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ljsd/jieling/logic/fight/DuoduiTowerLogic.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serverlogic/src/main/java/com/ljsd/jieling/logic/fight/DuoduiTowerLogic.java b/serverlogic/src/main/java/com/ljsd/jieling/logic/fight/DuoduiTowerLogic.java index 20fc7477a..e10f6db51 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/logic/fight/DuoduiTowerLogic.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/logic/fight/DuoduiTowerLogic.java @@ -186,7 +186,7 @@ public class DuoduiTowerLogic { LOGGER.error("多队获取奖励失败,时间不足30分钟,类型:{},当前层数:{},time:{},uid:{}", type, tier, time, user.getId()); throw new ErrorTableException(162);//时间不足1分钟 } - int num = (nowInt - time) / 60 * 30; + int num = (nowInt - time) / (60 * 30); int value = SSpecialConfig.getIntegerValue(SSpecialConfig.Duoduita_accumulation_time); count = Math.min(num,value); //更新数据库时间