From 77bd3dca59c68b9ce5b49d1a0eb9338852d0d4c0 Mon Sep 17 00:00:00 2001 From: TKaxv_7S <954067342@qq.com> Date: Wed, 17 Jul 2024 15:05:36 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E7=BB=BF=E8=89=B2?= =?UTF-8?q?=E7=BB=8F=E8=90=A5=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xposed/sesame/model/task/greenFinance/GreenFinance.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/tkaxv7s/xposed/sesame/model/task/greenFinance/GreenFinance.java b/app/src/main/java/tkaxv7s/xposed/sesame/model/task/greenFinance/GreenFinance.java index e66a06c0..714d16c4 100644 --- a/app/src/main/java/tkaxv7s/xposed/sesame/model/task/greenFinance/GreenFinance.java +++ b/app/src/main/java/tkaxv7s/xposed/sesame/model/task/greenFinance/GreenFinance.java @@ -332,7 +332,7 @@ private void prizes() { } str = GreenFinanceRpcCall.campTrigger(campId); jsonObject = new JSONObject(str); - if (!jsonObject.getBoolean("success")) { + if (!jsonObject.optBoolean("success")) { Log.i(TAG + ".prizes.campTrigger", jsonObject.optString("resultDesc")); return; } From 8eecc8cc978b588d11597949eacb27f52c159b00 Mon Sep 17 00:00:00 2001 From: TKaxv_7S <954067342@qq.com> Date: Wed, 17 Jul 2024 18:58:58 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E7=BD=91=E7=BB=9C?= =?UTF-8?q?=E5=BB=B6=E8=BF=9F=E5=B9=B3=E8=A1=A1=E8=A1=A5=E5=81=BF=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 -- .../xposed/sesame/model/task/antForest/AntForestV2.java | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7a13861a..abd1f917 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,6 @@ 5. 添加 定时唤醒与定时执行逻辑,在基础设置中可配置多个定时执行或定时唤醒时间 6. 修复 一些逻辑问题 -***目前没有大小号切换的计划*** - ## 使用说明 1. 本APP是为了学习研究用,不得进行任何形式的转发,发布,传播。 diff --git a/app/src/main/java/tkaxv7s/xposed/sesame/model/task/antForest/AntForestV2.java b/app/src/main/java/tkaxv7s/xposed/sesame/model/task/antForest/AntForestV2.java index f6f8805c..45dee2b7 100644 --- a/app/src/main/java/tkaxv7s/xposed/sesame/model/task/antForest/AntForestV2.java +++ b/app/src/main/java/tkaxv7s/xposed/sesame/model/task/antForest/AntForestV2.java @@ -2001,7 +2001,7 @@ private void queryAnimalPropList() { jo = animalProps.getJSONObject(i); if (animalProp == null || jo.getJSONObject("main").getInt("holdsNum") - > animalProp.getJSONObject("main").getInt("holdsNum")) { + > animalProp.getJSONObject("main").getInt("holdsNum")) { animalProp = jo; } } @@ -2047,7 +2047,7 @@ private void queryAnimalAndPiece(boolean canConsumeProp) { if (animalConsumeProp.getValue() && canConsumeProp) { if (animalProp == null || jo.getJSONObject("main").getInt("holdsNum") - > animalProp.getJSONObject("main").getInt("holdsNum")) { + > animalProp.getJSONObject("main").getInt("holdsNum")) { animalProp = jo; } } @@ -2387,7 +2387,7 @@ public Runnable setRunnable() { return () -> { String userName = UserIdMap.getMaskName(userId); int averageInteger = offsetTimeMath.getAverageInteger(); - long readyTime = produceTime + averageInteger - advanceTimeInt - delayTimeMath.getAverageInteger() - System.currentTimeMillis(); + long readyTime = produceTime + averageInteger - advanceTimeInt - delayTimeMath.getAverageInteger() - System.currentTimeMillis() + 50; if (readyTime > 0) { try { Thread.sleep(readyTime);