diff --git a/src/main/java/com/yutou/qqbot/QQBotApplication.java b/src/main/java/com/yutou/qqbot/QQBotApplication.java index e16a1ac..777e3ce 100644 --- a/src/main/java/com/yutou/qqbot/QQBotApplication.java +++ b/src/main/java/com/yutou/qqbot/QQBotApplication.java @@ -6,7 +6,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class QQBotApplication { - public static final String version="QQBot v.1.2.26"; + public static final String version="QQBot v.1.2.27"; public static void main(String[] args) { System.out.println("version = " + version); SpringApplication.run(QQBotApplication.class, args); diff --git a/src/main/java/com/yutou/qqbot/models/Animal/TurnipProphet.java b/src/main/java/com/yutou/qqbot/models/Animal/TurnipProphet.java index 644bfe3..19dc9fb 100644 --- a/src/main/java/com/yutou/qqbot/models/Animal/TurnipProphet.java +++ b/src/main/java/com/yutou/qqbot/models/Animal/TurnipProphet.java @@ -351,7 +351,7 @@ public class TurnipProphet extends Model { map.put(TurnipProphet.TurnipData.MIX, tmp[15]); map.put(TurnipProphet.TurnipData.MAX, tmp[16]); } else { - if (!array.contains(tmp[0])) { + if (!array.toJSONString().contains(tmp[0])) { JSONObject json = new JSONObject(); json.put(TurnipProphet.TurnipData.MODEL, tmp[0]); json.put(TurnipProphet.TurnipData.PR, tmp[1]);