Fix API incompatibilities. Should mean mods will work with new config changes.
This commit is contained in:
parent
bcda92e941
commit
6998e76d3f
|
@ -139,10 +139,9 @@ public class ConfigCategory implements Map<String, Property>
|
||||||
return getQualifiedName();
|
return getQualifiedName();
|
||||||
}
|
}
|
||||||
|
|
||||||
public ConfigCategory setComment(String comment)
|
public void setComment(String comment)
|
||||||
{
|
{
|
||||||
this.comment = comment;
|
this.comment = comment;
|
||||||
return this;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getComment()
|
public String getComment()
|
||||||
|
@ -414,13 +413,12 @@ public class ConfigCategory implements Map<String, Property>
|
||||||
|
|
||||||
public Set<ConfigCategory> getChildren(){ return ImmutableSet.copyOf(children); }
|
public Set<ConfigCategory> getChildren(){ return ImmutableSet.copyOf(children); }
|
||||||
|
|
||||||
public ConfigCategory removeChild(ConfigCategory child)
|
public void removeChild(ConfigCategory child)
|
||||||
{
|
{
|
||||||
if (children.contains(child))
|
if (children.contains(child))
|
||||||
{
|
{
|
||||||
children.remove(child);
|
children.remove(child);
|
||||||
changed = true;
|
changed = true;
|
||||||
}
|
}
|
||||||
return this;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -985,10 +985,9 @@ public class Property
|
||||||
*
|
*
|
||||||
* @param name a name
|
* @param name a name
|
||||||
*/
|
*/
|
||||||
public Property setName(String name)
|
public void setName(String name)
|
||||||
{
|
{
|
||||||
this.name = name;
|
this.name = name;
|
||||||
return this;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue