From 889662b7411f0d68023726465f454fc85e5243ee Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Mon, 21 May 2018 11:14:45 -0400 Subject: [PATCH] updated templates for card creation --- Utils/cardClass.tmpl | 2 +- Utils/cardExtendedClass.tmpl | 2 +- Utils/cardExtendedLandClass.tmpl | 2 +- Utils/cardSplitClass.tmpl | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Utils/cardClass.tmpl b/Utils/cardClass.tmpl index 6d1f92149d..c73ff4f5d1 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 0bc742dd12..7ef4de848d 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 28fa2976df..f10afa0885 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 477c5b1b83..799845c13c 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=]