moved encoding fix to chat defenition
This commit is contained in:
parent
b37c0fe799
commit
5306f09eb0
2 changed files with 9 additions and 7 deletions
1
pom.xml
1
pom.xml
|
@ -12,7 +12,6 @@
|
|||
<configuration>
|
||||
<source>1.8</source>
|
||||
<target>1.8</target>
|
||||
<encoding>UTF-8</encoding>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
|
|
@ -89,12 +89,15 @@ public class Store {
|
|||
|
||||
blockedCommands = getConfig().getStringList("blockedCommands");
|
||||
|
||||
messagePrefix = getConfig().getString("prefix.default").replace("&", "§");
|
||||
errorPrefix = getConfig().getString("prefix.error").replace("&", "§");
|
||||
tauntPrefix = getConfig().getString("prefix.taunt").replace("&", "§");
|
||||
worldborderPrefix = getConfig().getString("prefix.border").replace("&", "§");
|
||||
abortPrefix = getConfig().getString("prefix.abort").replace("&", "§");
|
||||
gameoverPrefix = getConfig().getString("prefix.gameover").replace("&", "§");
|
||||
char SYMBOLE = '\u00A7';
|
||||
String SYMBOLE_STRING = new String(new char[] {SYMBOLE});
|
||||
|
||||
messagePrefix = getConfig().getString("prefix.default").replace("&", SYMBOLE_STRING);
|
||||
errorPrefix = getConfig().getString("prefix.error").replace("&", SYMBOLE_STRING);
|
||||
tauntPrefix = getConfig().getString("prefix.taunt").replace("&", SYMBOLE_STRING);
|
||||
worldborderPrefix = getConfig().getString("prefix.border").replace("&", SYMBOLE_STRING);
|
||||
abortPrefix = getConfig().getString("prefix.abort").replace("&", SYMBOLE_STRING);
|
||||
gameoverPrefix = getConfig().getString("prefix.gameover").replace("&", SYMBOLE_STRING);
|
||||
|
||||
nametagsVisible = getConfig().getBoolean("nametagsVisible");
|
||||
|
||||
|
|
Loading…
Reference in a new issue