mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
Change back the RenderUpdate
This commit is contained in:
1 parent
cf6b286fed
commit
a1b8d62dcb
21 files changed
+63
-73
No files matched your search
@@ -17,18 +17,7 @@ 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