diff --git a/forge-game/src/main/java/forge/game/replacement/ReplaceDamage.java b/forge-game/src/main/java/forge/game/replacement/ReplaceDamage.java index f7b6a5ad..f2ae6bd6 100644 --- a/forge-game/src/main/java/forge/game/replacement/ReplaceDamage.java +++ b/forge-game/src/main/java/forge/game/replacement/ReplaceDamage.java @@ -67,6 +67,10 @@ public class ReplaceDamage extends ReplacementEffect { return false; } } + if (((Integer) runParams.get("DamageAmount")) == 0) { + // If no actual damage is dealt, there is nothing to replace + return false; + } if (hasParam("DamageAmount")) { String full = getParam("DamageAmount"); String operator = full.substring(0, 2); @@ -82,10 +86,6 @@ public class ReplaceDamage extends ReplacementEffect { return false; } } - if (((Integer) runParams.get("DamageAmount")) == 0) { - // If no actual damage is dealt, there is nothing to replace - return false; - } if (hasParam("IsCombat")) { if (getParam("IsCombat").equals("True")) { if (!((Boolean) runParams.get("IsCombat"))) {