diff --git a/src/main/java/com/Acrobot/Breeze/Configuration/ValueParser.java b/src/main/java/com/Acrobot/Breeze/Configuration/ValueParser.java index dbe8a77..d711986 100644 --- a/src/main/java/com/Acrobot/Breeze/Configuration/ValueParser.java +++ b/src/main/java/com/Acrobot/Breeze/Configuration/ValueParser.java @@ -39,8 +39,6 @@ public class ValueParser { } return map; - } else if (object instanceof String) { - return Configuration.getColoured((String) object); } else { return object; } diff --git a/src/main/java/com/Acrobot/ChestShop/Configuration/Messages.java b/src/main/java/com/Acrobot/ChestShop/Configuration/Messages.java index 01b4583..12b3000 100644 --- a/src/main/java/com/Acrobot/ChestShop/Configuration/Messages.java +++ b/src/main/java/com/Acrobot/ChestShop/Configuration/Messages.java @@ -1,7 +1,7 @@ package com.Acrobot.ChestShop.Configuration; import com.Acrobot.Breeze.Configuration.Annotations.PrecededBySpace; -import org.bukkit.ChatColor; +import com.Acrobot.Breeze.Configuration.Configuration; /** * @author Acrobot @@ -73,6 +73,6 @@ public class Messages { public static String TOGGLE_MESSAGES_ON = "You will now receive messages from your shop(s)."; public static String prefix(String message) { - return prefix + message; + return Configuration.getColoured( prefix + message); } }