diff --git a/Utils/cardClass.tmpl b/Utils/cardClass.tmpl index 6d1f92149df..c73ff4f5d1a 100644 --- a/Utils/cardClass.tmpl +++ b/Utils/cardClass.tmpl @@ -50,7 +50,7 @@ import mage.constants.CardType; * * @author [=$author=] */ -public class [=$className=] extends CardImpl { +public final class [=$className=] extends CardImpl { public [=$className=](UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{[=$type=]}, "[=$manaCost=]"); diff --git a/Utils/cardExtendedClass.tmpl b/Utils/cardExtendedClass.tmpl index 0bc742dd120..7ef4de848d6 100644 --- a/Utils/cardExtendedClass.tmpl +++ b/Utils/cardExtendedClass.tmpl @@ -33,7 +33,7 @@ import java.util.UUID;[= if ($rarityExtended) {$OUT .= "\nimport mage.constants. * * @author [=$author=] */ -public class [=$className=] extends mage.sets.[=$baseSet=].[=$className=] { +public final class [=$className=] extends mage.sets.[=$baseSet=].[=$className=] { public [=$className=](UUID ownerId) { super(ownerId); diff --git a/Utils/cardExtendedLandClass.tmpl b/Utils/cardExtendedLandClass.tmpl index 28fa2976dfd..f10afa0885a 100644 --- a/Utils/cardExtendedLandClass.tmpl +++ b/Utils/cardExtendedLandClass.tmpl @@ -33,7 +33,7 @@ import java.util.UUID; * * @author [=$author=] */ -public class [=$className=][=$landNr=] extends mage.cards.basiclands.[=$className=] { +public final class [=$className=][=$landNr=] extends mage.cards.basiclands.[=$className=] { public [=$className=][=$landNr=](UUID ownerId) { super(ownerId, [=$cardNumber=]); diff --git a/Utils/cardSplitClass.tmpl b/Utils/cardSplitClass.tmpl index 477c5b1b837..799845c13c4 100644 --- a/Utils/cardSplitClass.tmpl +++ b/Utils/cardSplitClass.tmpl @@ -38,7 +38,7 @@ import mage.constants.SpellAbilityType; * * @author [=$author=] */ -public class [=$className=] extends SplitCard { +public final class [=$className=] extends SplitCard { public [=$className=](UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{[=$type=]}, new CardType[]{??}, "[=$manaCost=]", "??", SpellAbilityType.SPLIT_AFTERMATH); [=$subType=][=$colors=]