mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 19:59:55 +00:00
quick fix : Unnecessary boxing / unboxing
This commit is contained in:
1 parent
83a1fa7957
commit
d6b69264b9
4 files changed
+5
-5
No files matched your search
@@ -131,7 +131,7 @@ public class ModLapis extends ItemModTypeFilter {
|
||||
boolean hasEnchant = false;
|
||||
while (iterator.hasNext()) {
|
||||
NBTTagCompound enchantTag = new NBTTagCompound();
|
||||
index = ((Integer) iterator.next()).intValue();
|
||||
index = (Integer) iterator.next();
|
||||
lvl = (Integer) enchantMap.get(index);
|
||||
if (index == enchant.effectId) {
|
||||
hasEnchant = true;
|
||||
|
||||
Reference in new issue
Block a user