Permalink
Browse files

Wrap enchantment setting with a try catch

  • Loading branch information...
me4502 committed May 24, 2017
1 parent e93b501 commit 0cdf8758dcd338620dd22a4656fc8d481a16bb99
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/main/java/com/sk89q/craftbook/util/ItemSyntax.java
@@ -192,6 +192,7 @@ public ItemStack load(String line) throws Exception {
}
catch(NumberFormatException ignored){}
catch(ArrayIndexOutOfBoundsException ignored){}
catch(NullPointerException ignored){}
}
}
if(advMetadataSplit.length > 1) {

0 comments on commit 0cdf875

Please sign in to comment.