quick fix : 'if' statement with identical branches

This commit is contained in:
Alexdoru committed 2023-01-25 22:53:06 +01:00
1 parent 5a1c3a4dfd
commit 6a88c6a5e1
16 files changed
+39 -84

No files matched your search

@@ -72,12 +72,11 @@ public class ModButtertouch extends ModBoolean {
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();