v0.3.3: removed exception eating in herosubclass

This commit is contained in:
Evan Debenham 2015-12-15 22:22:22 -05:00
parent f797e3464b
commit a210fe945c

View File

@ -77,11 +77,7 @@ public enum HeroSubClass {
public static HeroSubClass restoreInBundle( Bundle bundle ) {
String value = bundle.getString( SUBCLASS );
try {
return valueOf( value );
} catch (Exception e) {
return NONE;
}
return valueOf( value );
}
}