From 8ccf3ee9d73e2fb5367535ed49362e05817518cc Mon Sep 17 00:00:00 2001 From: NorbiPeti Date: Thu, 10 Jan 2019 01:46:59 +0100 Subject: [PATCH] Guess what, configs --- .../buttondevteam/chat/components/TownColorComponent.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/buttondevteam/chat/components/TownColorComponent.java b/src/main/java/buttondevteam/chat/components/TownColorComponent.java index b731ea7..8a82040 100644 --- a/src/main/java/buttondevteam/chat/components/TownColorComponent.java +++ b/src/main/java/buttondevteam/chat/components/TownColorComponent.java @@ -5,11 +5,11 @@ import buttondevteam.lib.architecture.ConfigData; public class TownColorComponent extends Component { public ConfigData 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 useNationColors() { //TODO - return getData("useNationColors", true); + return getConfig().getData("useNationColors", true); } @Override