mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
Made setDeckType public for DeckEditor to persist the deckType.
This commit is contained in:
@@ -106,7 +106,7 @@ public final class Deck implements Comparable<Deck>, Serializable {
|
||||
* @param deckType
|
||||
* a {@link java.lang.String} object.
|
||||
*/
|
||||
void setDeckType(final GameType deckType) {
|
||||
public void setDeckType(final GameType deckType) {
|
||||
if (this.getDeckType() != null) {
|
||||
throw new IllegalStateException("Deck : setDeckType() error, deck type has already been set");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user