mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-20 04:09:40 +00:00
quick fix : Redundant 'if' statement
This commit is contained in:
1 parent
ce3ee201a3
commit
d0c3b57e22
29 files changed
+48
-130
No files matched your search
@@ -14,9 +14,7 @@ public class ModPotion extends ItemModifier {
|
||||
protected boolean canModify(ItemStack tool, ItemStack[] input) {
|
||||
NBTTagCompound tags = tool.getTagCompound().getCompoundTag("InfiTool");
|
||||
NBTTagCompound potion = tool.getTagCompound().getCompoundTag("Potion");
|
||||
if (potion == null) return true;
|
||||
|
||||
return false;
|
||||
return potion == null;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user