Skip to content

Commit

Permalink
Merge fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JayDi85 committed Jul 24, 2021
1 parent c6a3d5e commit 1e4f352
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public boolean apply(Game game, Ability source) {
if (spell == null) {
return false;
}
spell = spell.copy();
spell = spell.copy(); // it's a fake spell (template), real copy with events in EpicPushEffect
spell.getSpellAbility().getEffects().removeIf(EpicEffect.class::isInstance);
game.addDelayedTriggeredAbility(new AtTheBeginOfYourNextUpkeepDelayedTriggeredAbility(
new EpicPushEffect(spell, rule), Duration.EndOfGame, false
Expand Down
4 changes: 2 additions & 2 deletions Mage/src/main/java/mage/cards/repository/CardRepository.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ public enum CardRepository {
private static final String JDBC_URL = "jdbc:h2:file:./db/cards.h2;AUTO_SERVER=TRUE";
private static final String VERSION_ENTITY_NAME = "card";
// raise this if db structure was changed
private static final long CARD_DB_VERSION = 54;
private static final long CARD_DB_VERSION = 53;
// raise this if new cards were added to the server
private static final long CARD_CONTENT_VERSION = 238;
private static final long CARD_CONTENT_VERSION = 239;
private Dao<CardInfo, Object> cardDao;
private Set<String> classNames;
private final RepositoryEventSource eventSource = new RepositoryEventSource();
Expand Down

0 comments on commit 1e4f352

Please sign in to comment.