mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
catch unlikely null sectionMode
Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
This commit is contained in:
@@ -365,6 +365,9 @@ public final class CEditorConstructed extends CDeckEditor<Deck> {
|
||||
* Switch between the main deck and the sideboard editor.
|
||||
*/
|
||||
public void setEditorMode(DeckSection sectionMode) {
|
||||
if (sectionMode == null) {
|
||||
return;
|
||||
}
|
||||
switch(this.gameType) {
|
||||
case Constructed:
|
||||
switch(sectionMode) {
|
||||
|
||||
Reference in New Issue
Block a user