Commit 862aa411 authored by fallenstardust's avatar fallenstardust

魔陷卡片分类之间添加分隔符

parent 96bad162
......@@ -14,6 +14,11 @@ public class CardUtils {
if (card.isType(CardType.Spell)) {
for (CardType type : cardTypes) {
if (card.isType(type)) {
if (!isFrst) {
stringBuilder.append("|");
} else {
isFrst = false;
}
stringBuilder.append(stringManager.getTypeString(type.getId()));
// break;
}
......@@ -22,6 +27,11 @@ public class CardUtils {
} else if (card.isType(CardType.Trap)) {
for (CardType type : cardTypes) {
if (card.isType(type)) {
if (!isFrst) {
stringBuilder.append("|");
} else {
isFrst = false;
}
stringBuilder.append(stringManager.getTypeString(type.getId()));
}
// break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment