mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
Merge branch 'fixCastCancel' into 'master'
Fix ExcludedDestinations logic See merge request core-developers/forge!3861
This commit is contained in:
@@ -90,7 +90,7 @@ public class TriggerChangesZone extends Trigger {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (hasParam("ExcludedDestinations")) {
|
if (hasParam("ExcludedDestinations")) {
|
||||||
if (!ArrayUtils.contains(
|
if (ArrayUtils.contains(
|
||||||
getParam("ExcludedDestinations").split(","), runParams.get(AbilityKey.Destination)
|
getParam("ExcludedDestinations").split(","), runParams.get(AbilityKey.Destination)
|
||||||
)) {
|
)) {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user