Improve some ability text

This commit is contained in:
Plopman 2018-02-22 00:02:23 +01:00
parent 155fbb8663
commit f31b1ab7e3
23 changed files with 37 additions and 64 deletions

View file

@ -286,7 +286,7 @@ public class CreateTokenCopyTargetEffect extends OneShotEffect {
sb.append("tokens that are copies of target ");
}
if (!mode.getTargets().isEmpty()) {
sb.append(mode.getTargets().get(0).getMessage());
sb.append(mode.getTargets().get(0).getTargetName());
} else {
throw new UnsupportedOperationException("Using default rule generation of target effect without having a target object");
}