mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 12:42:57 +00:00
quick fix : 'if' statement with identical branches
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user