mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
Upload my Code Changes/Format/imports
This commit is contained in:
1 parent
5bcdb7ca46
commit
5d4e38c0cb
264 files changed
+4014
-3972
No files matched your search
@@ -17,7 +17,18 @@ public class ModAutoSmelt extends ModBoolean
|
||||
NBTTagCompound tags = tool.getTagCompound().getCompoundTag("InfiTool");
|
||||
if (tags.getBoolean("Silk Touch"))
|
||||
return false;
|
||||
return tags.getInteger("Modifiers") > 0 && !tags.getBoolean(key); //Will fail if the modifier is false or the tag doesn't exist
|
||||
return tags.getInteger("Modifiers") > 0 && !tags.getBoolean(key); // Will
|
||||
// fail
|
||||
// if
|
||||
// the
|
||||
// modifier
|
||||
// is
|
||||
// false
|
||||
// or
|
||||
// the
|
||||
// tag
|
||||
// doesn't
|
||||
// exist
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user