mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
*Fixed Blocks triggers.
This commit is contained in:
@@ -29,7 +29,7 @@ public class Trigger_Blocks extends Trigger {
|
|||||||
@Override
|
@Override
|
||||||
public boolean performTest(Map<String, Object> runParams2) {
|
public boolean performTest(Map<String, Object> runParams2) {
|
||||||
if (mapParams.containsKey("ValidCard")) {
|
if (mapParams.containsKey("ValidCard")) {
|
||||||
if (!matchesValid(runParams.get("Blocker"), mapParams.get("ValidCard").split(","), hostCard)) {
|
if (!matchesValid(runParams2.get("Blocker"), mapParams.get("ValidCard").split(","), hostCard)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user