- Phrasing correction in texts (still think we need to update the method names...)

This commit is contained in:
Agetian
2018-11-17 22:22:09 +03:00
committed by Hanmac
parent 7eda172ef7
commit 9eaa749ab2
2 changed files with 3 additions and 3 deletions

View File

@@ -107,7 +107,7 @@ public class GameWrapper {
if (target.canBeAttachedBy(actualCard)) {
actualCard.attachEntity(target);
} else {
throw new IllegalStateException( actualCard + " can't attach " + target );
throw new IllegalStateException( actualCard + " can't attach to " + target );
}
} else {
throw new IllegalStateException( "Don't know how to make " + actualCard + " target anything" );

View File

@@ -446,7 +446,7 @@ public class CardDetailUtil {
if (area.length() != 0) {
area.append("\n");
}
area.append("=Attached by ");
area.append("=Attached: ");
area.append(StringUtils.join(card.getAttachedBy(), ", "));
area.append("=");
}
@@ -456,7 +456,7 @@ public class CardDetailUtil {
if (area.length() != 0) {
area.append("\n");
}
area.append("*Attaching ").append(card.getAttachingCard()).append("*");
area.append("*Attached to ").append(card.getAttachingCard()).append("*");
}
if (card.getAttachingPlayer() != null) {
if (area.length() != 0) {