fix some function names
This commit is contained in:
parent
fe57a2909a
commit
3d1c68210c
21 changed files with 133 additions and 164 deletions
|
@ -51,7 +51,7 @@ public class AttributeInstance
|
|||
// return (Collection)this.mapByOperation.get(operation);
|
||||
// }
|
||||
|
||||
public Collection<AttributeModifier> func_111122_c()
|
||||
public Collection<AttributeModifier> getModifiers()
|
||||
{
|
||||
Set<AttributeModifier> set = Sets.<AttributeModifier>newHashSet();
|
||||
|
||||
|
@ -132,7 +132,7 @@ public class AttributeInstance
|
|||
|
||||
public void removeAllModifiers()
|
||||
{
|
||||
Collection<AttributeModifier> collection = this.func_111122_c();
|
||||
Collection<AttributeModifier> collection = this.getModifiers();
|
||||
|
||||
if (collection != null)
|
||||
{
|
||||
|
|
|
@ -61,7 +61,7 @@ public class Attributes
|
|||
Attribute iattribute = instance.getAttribute();
|
||||
nbttagcompound.setString("Name", iattribute.getUnlocalizedName());
|
||||
nbttagcompound.setDouble("Base", instance.getBaseValue());
|
||||
Collection<AttributeModifier> collection = instance.func_111122_c();
|
||||
Collection<AttributeModifier> collection = instance.getModifiers();
|
||||
|
||||
if (collection != null && !collection.isEmpty())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue