fixup! add forge.quest.data.QuestData to fix old quests

This commit is contained in:
Leandro Doctors
2021-03-17 14:00:37 -03:00
parent 412e77bdde
commit aecd600367
2 changed files with 5 additions and 18 deletions

View File

@@ -109,6 +109,11 @@ public class QuestData {
this.deckConstructionRules = dcr; this.deckConstructionRules = dcr;
} }
public QuestData(String name0, int diff, QuestMode mode0, GameFormat userFormat, boolean allowSetUnlocks,
String startingWorld, DeckConstructionRules dcr) {
super(name0, diff, mode0, userFormat, allowSetUnlocks, startingWorld, dcr);
}
/** /**
* Gets the mode. * Gets the mode.
* *

View File

@@ -1,18 +0,0 @@
package forge.quest.data;
import forge.game.GameFormat;
import forge.gamemodes.quest.QuestMode;
import forge.gamemodes.quest.data.DeckConstructionRules;
@Deprecated
public final class QuestData extends forge.gamemodes.quest.data.QuestData {
public QuestData() {
}
public QuestData(String name0, int diff, QuestMode mode0, GameFormat userFormat, boolean allowSetUnlocks,
String startingWorld, DeckConstructionRules dcr) {
super(name0, diff, mode0, userFormat, allowSetUnlocks, startingWorld, dcr);
}
}