Guess what, configs
This commit is contained in:
parent
bfe7d48760
commit
8ccf3ee9d7
1 changed files with 2 additions and 2 deletions
|
@ -5,11 +5,11 @@ import buttondevteam.lib.architecture.ConfigData;
|
|||
|
||||
public class TownColorComponent extends Component {
|
||||
public ConfigData<Byte> colorCount() { //TODO
|
||||
return getData("colorCount", (byte) 1, cc -> (byte) cc, cc -> (int) cc);
|
||||
return getConfig().getData("colorCount", (byte) 1, cc -> (byte) cc, cc -> (int) cc);
|
||||
}
|
||||
|
||||
public ConfigData<Boolean> useNationColors() { //TODO
|
||||
return getData("useNationColors", true);
|
||||
return getConfig().getData("useNationColors", true);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue