v0.8.1a: fixed a variety of rare crashes caused by:
- shields rarely failing to apply (having no target) - ghouls dieing while over pits - Tengu having nowhere to jump in rare cases - multiplicity when the attacker is the hero - talisman buffs not always respecting floor differences - null pointers in reflection
This commit is contained in:
@@ -39,7 +39,7 @@ public class Reflection {
|
||||
public static <T> T newInstance( Class<T> cls ){
|
||||
try {
|
||||
return ClassReflection.newInstance(cls);
|
||||
} catch (ReflectionException e) {
|
||||
} catch (Exception e) {
|
||||
Game.reportException(e);
|
||||
return null;
|
||||
}
|
||||
@@ -52,7 +52,7 @@ public class Reflection {
|
||||
public static Class forName( String name ){
|
||||
try {
|
||||
return ClassReflection.forName( name );
|
||||
} catch (ReflectionException e) {
|
||||
} catch (Exception e) {
|
||||
Game.reportException(e);
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user