fix VanishingUpkeepAbility missing a copy for a field (#10755)

This commit is contained in:
Susucre 2023-08-05 00:09:05 +02:00 committed by GitHub
parent 7c4f3f8c8d
commit b9a2278d4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,9 +27,10 @@ public class VanishingUpkeepAbility extends BeginningOfUpkeepTriggeredAbility {
this.permanentType = permanentType;
}
public VanishingUpkeepAbility(final VanishingUpkeepAbility ability) {
protected VanishingUpkeepAbility(final VanishingUpkeepAbility ability) {
super(ability);
this.vanishingAmount = ability.vanishingAmount;
this.permanentType = ability.permanentType;
}
@Override