mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-21 20:52:22 +00:00
Remove unnecessary boxing/unboxing
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user