mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
Removed debugging code.
This commit is contained in:
@@ -534,10 +534,10 @@ public enum CSubmenuQuestDraft implements ICDoc {
|
|||||||
QuestEventDraft draftEvent = SSubmenuQuestUtil.getDraftEvent();
|
QuestEventDraft draftEvent = SSubmenuQuestUtil.getDraftEvent();
|
||||||
|
|
||||||
long creditsAvailable = FModel.getQuest().getAssets().getCredits();
|
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));
|
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;
|
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;
|
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 7:
|
||||||
case 8:
|
case 8:
|
||||||
System.out.println("UPDATE");
|
|
||||||
QuestDataIO.setFinalField(QuestAssets.class, "draftDecks", qS, new HashMap<String, DeckGroup>());
|
QuestDataIO.setFinalField(QuestAssets.class, "draftDecks", qS, new HashMap<String, DeckGroup>());
|
||||||
qS.getDraftDeckStorage();
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user