Remove unnecessary boxing/unboxing

This commit is contained in:
mezz committed 2016-10-20 23:14:07 -07:00
1 parent f96bf5ba5f
commit 57930991ec
5 files changed
+8 -8

No files matched your search

@@ -134,7 +134,7 @@ public class NBTShapedRecipe implements IRecipe {
for (int i2 = 0; i2 < j * k; ++i2) {
final char c0 = s.charAt(i2);
if (hashmap.containsKey(c0)) {
aitemstack[i2] = ((ItemStack) hashmap.get(Character.valueOf(c0))).copy();
aitemstack[i2] = ((ItemStack) hashmap.get(c0)).copy();
} else {
aitemstack[i2] = null;
}