Don't use replacematcher for parsing text on signs

This commit is contained in:
destro174
2021-08-20 23:03:58 +02:00
parent a35ad9ebeb
commit 1d5dd7c764
9 changed files with 43 additions and 34 deletions
@@ -36,10 +36,8 @@ public final class PrefixConfig {
init();
}
public static File CONFIGPATH;
public void init() {
CONFIGPATH = new File(System.getProperty("user.home") + File.separator + "share" + File.separator + "ChatPlugin");
CONFIG_FILE = new File(CONFIGPATH, "prefix.yml");
CONFIG_FILE = new File(Config.CONFIGPATH, "prefix.yml");
configLoader = YAMLConfigurationLoader.builder()
.setFile(CONFIG_FILE)
.setFlowStyle(DumperOptions.FlowStyle.BLOCK)