mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
Added property setting to enable/disable display of the random 2-color deck list.
This commit is contained in:
@@ -6,6 +6,7 @@ import java.util.Map;
|
||||
import java.util.Random;
|
||||
|
||||
import forge.error.ErrorViewer;
|
||||
import forge.properties.ForgeProps;
|
||||
|
||||
public class Generate2ColorDeck
|
||||
{
|
||||
@@ -375,7 +376,8 @@ public class Generate2ColorDeck
|
||||
}
|
||||
|
||||
tmpDeck += "DeckSize:" + tDeck.size() + "\n";
|
||||
ErrorViewer.showError(tmpDeck);
|
||||
if (ForgeProps.getProperty("showdeck/2color", "false").equals("true"))
|
||||
ErrorViewer.showError(tmpDeck);
|
||||
|
||||
return tDeck;
|
||||
}
|
||||
|
||||
@@ -21,6 +21,8 @@ public interface NewConstants {
|
||||
public static final String FORUM = "program/forum";
|
||||
public static final String VERSION = "program/version";
|
||||
|
||||
public static final String SHOW2CDECK = "showdeck/2color";
|
||||
|
||||
public static final String DECKS = "decks";
|
||||
public static final String BOOSTER_DECKS = "booster-decks";
|
||||
public static final String NEW_DECKS = "decks-dir";
|
||||
|
||||
Reference in New Issue
Block a user