mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
run through remap script
This commit is contained in:
1 parent
689aeba09b
commit
b8cf7cdc5e
208 files changed
+4117
-4117
No files matched your search
@@ -49,10 +49,10 @@ public class AModHealthBoost extends ArmorModTypeFilter
|
||||
NBTTagList attributes;
|
||||
if (baseTag.hasKey("AttributeModifiers"))
|
||||
{
|
||||
attributes = baseTag.func_150295_c("AttributeModifiers",9);
|
||||
attributes = baseTag.getTagList("AttributeModifiers",9);
|
||||
for (int iter = 0; iter < attributes.tagCount(); iter++)
|
||||
{
|
||||
NBTTagCompound tag = (NBTTagCompound) attributes.func_150305_b(iter);
|
||||
NBTTagCompound tag = (NBTTagCompound) attributes.getCompoundTagAt(iter);
|
||||
if (tag.getString("AttributeName").equals("generic.maxHealth"))
|
||||
attributes.removeTag(iter);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user