quick fix : 'if' statement with identical branches

This commit is contained in:
Alexdoru authored and Jason Mitchell committed 2023-01-28 18:02:41 -08:00
1 parent 04c7d32b53
commit fc54dde7ce
16 files changed
+39 -84

No files matched your search

@@ -137,12 +137,11 @@ public class ModLapis extends ItemModTypeFilter {
hasEnchant = true;
enchantTag.setShort("id", (short) index);
enchantTag.setShort("lvl", (short) ((byte) level));
tags.appendTag(enchantTag);
} else {
enchantTag.setShort("id", (short) index);
enchantTag.setShort("lvl", (short) ((byte) lvl));
tags.appendTag(enchantTag);
}
tags.appendTag(enchantTag);
}
if (!hasEnchant) {
NBTTagCompound enchantTag = new NBTTagCompound();