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:
Evan Debenham
2020-06-30 20:18:55 -04:00
parent b3783295bf
commit bc757ed57b
8 changed files with 17 additions and 17 deletions

View File

@@ -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;
}