diff --git a/Mage.Common/src/main/java/mage/utils/MageVersion.java b/Mage.Common/src/main/java/mage/utils/MageVersion.java index 83c66f8e40..0cc812c685 100644 --- a/Mage.Common/src/main/java/mage/utils/MageVersion.java +++ b/Mage.Common/src/main/java/mage/utils/MageVersion.java @@ -14,7 +14,7 @@ public class MageVersion implements Serializable, Comparable { public final static int MAGE_VERSION_MAJOR = 1; public final static int MAGE_VERSION_MINOR = 4; public final static int MAGE_VERSION_PATCH = 30; - public final static String MAGE_VERSION_MINOR_PATCH = "V5"; + public final static String MAGE_VERSION_MINOR_PATCH = "V6"; public final static String MAGE_VERSION_INFO = ""; private final int major; diff --git a/Mage/src/main/java/mage/abilities/effects/common/CopyTokenEffect.java b/Mage/src/main/java/mage/abilities/effects/common/CopyTokenEffect.java index 56463f3927..63b3018d23 100644 --- a/Mage/src/main/java/mage/abilities/effects/common/CopyTokenEffect.java +++ b/Mage/src/main/java/mage/abilities/effects/common/CopyTokenEffect.java @@ -5,10 +5,10 @@ import mage.abilities.effects.ContinuousEffectImpl; import mage.constants.*; import mage.game.Game; import mage.game.permanent.Permanent; -import mage.game.permanent.token.TokenImpl; import mage.game.permanent.token.Token; public class CopyTokenEffect extends ContinuousEffectImpl { + protected Token token; public CopyTokenEffect(Token token) { @@ -28,19 +28,19 @@ public class CopyTokenEffect extends ContinuousEffectImpl { permanent.setName(token.getName()); permanent.getColor(game).setColor(token.getColor(game)); permanent.getCardType().clear(); - for (CardType type: token.getCardType()) { + for (CardType type : token.getCardType()) { permanent.addCardType(type); } permanent.getSubtype(game).clear(); - for (SubType type: token.getSubtype(game)) { + for (SubType type : token.getSubtype(game)) { permanent.getSubtype(game).add(type); } permanent.getSuperType().clear(); - for (SuperType type: token.getSuperType()) { + for (SuperType type : token.getSuperType()) { permanent.addSuperType(type); } permanent.getAbilities().clear(); - for (Ability ability: token.getAbilities()) { + for (Ability ability : token.getAbilities()) { permanent.addAbility(ability, game); } permanent.getPower().setValue(token.getPower().getValue()); diff --git a/Mage/src/main/java/mage/cards/repository/CardRepository.java b/Mage/src/main/java/mage/cards/repository/CardRepository.java index 902185cc5c..3fb3d62175 100644 --- a/Mage/src/main/java/mage/cards/repository/CardRepository.java +++ b/Mage/src/main/java/mage/cards/repository/CardRepository.java @@ -32,7 +32,7 @@ public enum CardRepository { // raise this if db structure was changed private static final long CARD_DB_VERSION = 51; // raise this if new cards were added to the server - private static final long CARD_CONTENT_VERSION = 115; + private static final long CARD_CONTENT_VERSION = 116; private Dao cardDao; private Set classNames;