Skip to content

Commit

Permalink
Catch throwable
Browse files Browse the repository at this point in the history
  • Loading branch information
fullwall committed Jul 9, 2013
1 parent 6cf744c commit 0a59f2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/citizensnpcs/npc/CitizensNPC.java
Expand Up @@ -213,7 +213,7 @@ public boolean spawn(Location at) {
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();
}
Expand Down

0 comments on commit 0a59f2a

Please sign in to comment.