v0.3.3: removed exception eating in herosubclass
This commit is contained in:
parent
f797e3464b
commit
a210fe945c
|
@ -77,11 +77,7 @@ public enum HeroSubClass {
|
||||||
|
|
||||||
public static HeroSubClass restoreInBundle( Bundle bundle ) {
|
public static HeroSubClass restoreInBundle( Bundle bundle ) {
|
||||||
String value = bundle.getString( SUBCLASS );
|
String value = bundle.getString( SUBCLASS );
|
||||||
try {
|
return valueOf( value );
|
||||||
return valueOf( value );
|
|
||||||
} catch (Exception e) {
|
|
||||||
return NONE;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user