Merge branch 'fixpay' into 'master'

Force player choice for mandatory costs

See merge request core-developers/forge!4074
This commit is contained in:
Michael Kamensky
2021-03-03 18:20:12 +00:00
6 changed files with 16 additions and 7 deletions

View File

@@ -515,6 +515,7 @@ public class Cost implements Serializable {
public final Cost copy() {
Cost toRet = new Cost();
toRet.isAbility = this.isAbility;
toRet.isMandatory = this.isMandatory;
for (CostPart cp : this.costParts) {
toRet.costParts.add(cp.copy());
}