v0.4.1a: increased the number of situations where exceptions are reported

This commit is contained in:
Evan Debenham
2016-08-09 17:15:54 -04:00
parent 98a8a36039
commit 5cd8d1be90
32 changed files with 72 additions and 27 deletions
@@ -20,6 +20,7 @@
*/
package com.shatteredpixel.shatteredpixeldungeon.mechanics;
import com.shatteredpixel.shatteredpixeldungeon.ShatteredPixelDungeon;
import com.shatteredpixel.shatteredpixeldungeon.actors.Actor;
import com.shatteredpixel.shatteredpixeldungeon.levels.Level;
@@ -135,6 +136,7 @@ public class Ballistica {
end = Math.min( end, path.size()-1);
return path.subList(start, end+1);
} catch (Exception e){
ShatteredPixelDungeon.reportException(e);
return new ArrayList<>();
}
}