- Fixed logic in CombatUtil#canBlock

This commit is contained in:
Agetian
2017-01-21 17:53:21 +00:00
parent 97fe0ec046
commit 9b25ce3cc6

View File

@@ -992,7 +992,7 @@ public class CombatUtil {
} }
} }
} }
for (String keyword : attacker.getKeywords()) { for (String keyword : blocker.getKeywords()) {
if (keyword.startsWith("CantBlockCardUID")) { if (keyword.startsWith("CantBlockCardUID")) {
final String[] k = keyword.split("_", 2); final String[] k = keyword.split("_", 2);
if (attacker.getId() == Integer.parseInt(k[1])) { if (attacker.getId() == Integer.parseInt(k[1])) {