mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-11 16:26:22 +00:00
Merge branch 'kevlahnota-master-patch-25933' into 'master'
Update AbilityUtils.java See merge request core-developers/forge!6066
This commit is contained in:
@@ -1133,7 +1133,7 @@ public class AbilityUtils {
|
||||
o = root.getTriggeringObject(AbilityKey.fromString(triggeringType));
|
||||
if (filter != null) {
|
||||
if (filter.equals("Opponent")) {
|
||||
if (!(Player) o.isOpponentOf(((SpellAbility) sa).getActivatingPlayer())) {
|
||||
if (!((Player)o).isOpponentOf(((SpellAbility) sa).getActivatingPlayer())) {
|
||||
o = null;
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user