quick fix : Unnecessary boxing / unboxing

This commit is contained in:
Alexdoru authored and Jason Mitchell committed 2023-01-28 18:02:41 -08:00
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;