Fix API incompatibilities. Should mean mods will work with new config changes.

This commit is contained in:
cpw 2014-06-25 20:47:33 -04:00
parent bcda92e941
commit 6998e76d3f
2 changed files with 150 additions and 153 deletions

View File

@ -139,10 +139,9 @@ public class ConfigCategory implements Map<String, Property>
return getQualifiedName();
}
public ConfigCategory setComment(String comment)
public void setComment(String comment)
{
this.comment = comment;
return this;
}
public String getComment()
@ -414,13 +413,12 @@ public class ConfigCategory implements Map<String, Property>
public Set<ConfigCategory> getChildren(){ return ImmutableSet.copyOf(children); }
public ConfigCategory removeChild(ConfigCategory child)
public void removeChild(ConfigCategory child)
{
if (children.contains(child))
{
children.remove(child);
changed = true;
}
return this;
}
}

View File

@ -985,10 +985,9 @@ public class Property
*
* @param name a name
*/
public Property setName(String name)
public void setName(String name)
{
this.name = name;
return this;
}
/**