Towny event broadcasting to Discord and masked links #96

Merged
NorbiPeti merged 7 commits from dev into master 2019-01-20 21:39:54 +00:00
Showing only changes of commit 8ccf3ee9d7 - Show all commits

View file

@ -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