Fix API incompatibilities. Should mean mods will work with new config changes.
This commit is contained in:
parent
2d7f22ade8
commit
32e577d5bf
|
@ -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;
|
||||
}
|
||||
}
|
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue