mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 02:38:02 +00:00
Removed debugging code.
This commit is contained in:
@@ -534,10 +534,10 @@ public enum CSubmenuQuestDraft implements ICDoc {
|
||||
QuestEventDraft draftEvent = SSubmenuQuestUtil.getDraftEvent();
|
||||
|
||||
long creditsAvailable = FModel.getQuest().getAssets().getCredits();
|
||||
/*if (creditsAvailable < draftEvent.getEntryFee()) {
|
||||
if (creditsAvailable < draftEvent.getEntryFee()) {
|
||||
FOptionPane.showMessageDialog("You need " + NUMBER_FORMATTER.format(draftEvent.getEntryFee() - creditsAvailable) + " more credits to enter this tournament.", "Not Enough Credits", FSkin.getImage(FSkinProp.ICO_WARNING).scale(2.0));
|
||||
return;
|
||||
}*/
|
||||
}
|
||||
|
||||
boolean okayToEnter = FOptionPane.showOptionDialog("This tournament costs " + draftEvent.getEntryFee() + " credits to enter.\nAre you sure you wish to enter?", "Enter Draft Tournament?", FSkin.getImage(FSkinProp.ICO_QUEST_GOLD), new String[] { "Yes", "No" }, 1) == 0;
|
||||
|
||||
|
||||
@@ -322,9 +322,7 @@ public class QuestDataIO {
|
||||
|
||||
case 7:
|
||||
case 8:
|
||||
System.out.println("UPDATE");
|
||||
QuestDataIO.setFinalField(QuestAssets.class, "draftDecks", qS, new HashMap<String, DeckGroup>());
|
||||
qS.getDraftDeckStorage();
|
||||
|
||||
default:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user