Catch throwable

This commit is contained in:
fullwall 2013-07-09 12:36:29 +08:00
parent 7f6251b709
commit 3e1a15e347

View File

@ -213,7 +213,7 @@ public class CitizensNPC extends AbstractNPC {
for (Trait trait : traits.values()) {
try {
trait.onSpawn();
} catch (Exception ex) {
} catch (Throwable ex) {
Messaging.severeTr(Messages.TRAIT_ONSPAWN_FAILED, trait.getName(), getId());
ex.printStackTrace();
}