mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Fixed a possible NPE in AF Attach.
This commit is contained in:
@@ -1395,7 +1395,7 @@ public class AbilityFactoryAttach {
|
||||
if (aura == null) {
|
||||
return false;
|
||||
}
|
||||
|
||||
aura.setActivatingPlayer(source.getController());
|
||||
final AbilityFactory af = aura.getAbilityFactory();
|
||||
final Target tgt = aura.getTarget();
|
||||
final boolean gainControl = "GainControl".equals(af.getMapParams().get("AILogic"));
|
||||
|
||||
Reference in New Issue
Block a user