Skip to content

Commit

Permalink
Fix error when HyperConomy isn't enabled, fixes #31
Browse files Browse the repository at this point in the history
  • Loading branch information
Morphan1 committed Oct 21, 2014
1 parent defdbf7 commit c963531
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -30,6 +30,8 @@ public class HyperConomySupport extends Support {
try {
field = TransactionResponse.class.getDeclaredField("hp");
field.setAccessible(true);
} catch (NoClassDefFoundError e) {
// HyperConomy isn't enabled
} catch (Exception e) {
dB.echoError(e);
}
Expand Down

0 comments on commit c963531

Please sign in to comment.