Skip to content

Commit

Permalink
Fix #500 Crash from broken itemStacks
Browse files Browse the repository at this point in the history
  • Loading branch information
mezz committed Oct 5, 2016
1 parent a3014cc commit 27468ce
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -102,6 +102,9 @@ private static void addItemStack(StackHelper stackHelper, ItemStack stack, List<
} catch (RuntimeException e) {
String stackInfo = ErrorUtil.getItemStackInfo(stack);
Log.error("Couldn't get unique name for itemStack {}", stackInfo, e);
} catch (LinkageError e) {
String stackInfo = ErrorUtil.getItemStackInfo(stack);
Log.error("Couldn't get unique name for itemStack {}", stackInfo, e);
}

if (itemKey != null) {
Expand Down

0 comments on commit 27468ce

Please sign in to comment.