Skip to content

Commit

Permalink
修复派遣伙伴列表第一个不可派遣
Browse files Browse the repository at this point in the history
  • Loading branch information
JiangAshao authored Dec 6, 2024
1 parent a76ac39 commit 4e83c4e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2102,7 +2102,7 @@ private void queryAnimalPropList() {
jo = animalProps.getJSONObject(i);
if (i == 0) {
animalProp = jo;
if (consumeAnimalPropType.getValue() == ConsumeAnimalPropType.SEQUENCE) {
if (consumeAnimalPropType.getValue() == ConsumeAnimalPropType.SEQUENCE && animalProp.has("main") && animalProp.getJSONObject("main").getInt("holdsNum") > 0) {
break;
}
} else if (jo.getJSONObject("main").getInt("holdsNum") > animalProp.getJSONObject("main").getInt("holdsNum")) {
Expand Down

0 comments on commit 4e83c4e

Please sign in to comment.