Don't make bad ItemStacks

This doesn't really fix the problem, just makes it not crash: http://openeye.openmods.info/crashes/35adb461482c017d9f2abe4fb770ea71
This commit is contained in:
CovertJaguar committed 2014-05-07 18:38:28 -07:00
1 parent 27b3dedd1a
commit 18763ce744
1 file changed
+2
@@ -270,6 +270,8 @@ public enum ForestryItem {
}
public ItemStack getItemStack(int qty, int meta) {
if (item == null)
return null;
return new ItemStack(item, qty, meta);
}
}