minor cleanup

This commit is contained in:
xenohedron 2024-02-04 13:08:19 -05:00
parent 804dd0ae2b
commit 2030dcf169
2 changed files with 2 additions and 8 deletions

View file

@ -97,7 +97,7 @@ public class AddCountersTargetEffect extends OneShotEffect {
@Override
public String getText(Mode mode) {
if (!staticText.isEmpty()) {
if (staticText != null && !staticText.isEmpty()) {
return staticText;
}
return CardUtil.getAddRemoveCountersText(amount, counter, getTargetPointer().describeTargets(mode.getTargets(), "that creature"), true);