mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-22 21:20:06 +00:00
quick fix : Redundant type cast
This commit is contained in:
1 parent
b34eec4dea
commit
2d13e6185e
84 files changed
+426
-434
No files matched your search
@@ -28,7 +28,7 @@ public class AModLeadBoots extends AModBoolean {
|
||||
if (baseTag.hasKey("AttributeModifiers")) {
|
||||
attributes = baseTag.getTagList("AttributeModifiers", 0);
|
||||
for (int iter = 0; iter < attributes.tagCount(); iter++) {
|
||||
NBTTagCompound tag = (NBTTagCompound) attributes.getCompoundTagAt(iter);
|
||||
NBTTagCompound tag = attributes.getCompoundTagAt(iter);
|
||||
if (tag.getString("AttributeName").equals("generic.knockbackResistance")) attributes.removeTag(iter);
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user