mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 02:08:00 +00:00
Merge branch 'maven_build_fix' into 'master'
Fix for broken Maven build See merge request core-developers/forge!5122
This commit is contained in:
@@ -346,7 +346,8 @@ public abstract class Trigger extends TriggerReplacementBase {
|
||||
}
|
||||
}
|
||||
|
||||
if (!meetsCommonRequirements(this.mapParams))
|
||||
// host controller will be null when adding card in a simulation game
|
||||
if (this.getHostCard().getController() == null || !meetsCommonRequirements(this.mapParams))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user