Merge branch 'fixCastCancel' into 'master'

Fix ExcludedDestinations logic

See merge request core-developers/forge!3861
This commit is contained in:
Michael Kamensky
2021-02-16 16:29:55 +00:00

View File

@@ -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;