forked from External/mage
Revert "introduced StringUtil class with .isEmpty(String input) and .isNotEmp…"
This commit is contained in:
parent
18e771ccd5
commit
d7dd635bca
51 changed files with 96 additions and 294 deletions
|
|
@ -36,7 +36,6 @@ import mage.abilities.dynamicvalue.common.StaticValue;
|
|||
import mage.abilities.effects.OneShotEffect;
|
||||
import mage.game.Game;
|
||||
import mage.players.Player;
|
||||
import mage.util.StringUtil;
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
@ -104,7 +103,7 @@ public class DamageControllerEffect extends OneShotEffect {
|
|||
sb.append(amount);
|
||||
}
|
||||
sb.append(" damage to you");
|
||||
if (StringUtil.isNotEmpty(message)) {
|
||||
if (message.length() > 0) {
|
||||
if (message.equals("1")) {
|
||||
sb.append(" equal to the number of ");
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue