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>
|
<configuration>
|
||||||
<source>1.8</source>
|
<source>1.8</source>
|
||||||
<target>1.8</target>
|
<target>1.8</target>
|
||||||
<encoding>UTF-8</encoding>
|
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
|
|
|
@ -89,12 +89,15 @@ public class Store {
|
||||||
|
|
||||||
blockedCommands = getConfig().getStringList("blockedCommands");
|
blockedCommands = getConfig().getStringList("blockedCommands");
|
||||||
|
|
||||||
messagePrefix = getConfig().getString("prefix.default").replace("&", "§");
|
char SYMBOLE = '\u00A7';
|
||||||
errorPrefix = getConfig().getString("prefix.error").replace("&", "§");
|
String SYMBOLE_STRING = new String(new char[] {SYMBOLE});
|
||||||
tauntPrefix = getConfig().getString("prefix.taunt").replace("&", "§");
|
|
||||||
worldborderPrefix = getConfig().getString("prefix.border").replace("&", "§");
|
messagePrefix = getConfig().getString("prefix.default").replace("&", SYMBOLE_STRING);
|
||||||
abortPrefix = getConfig().getString("prefix.abort").replace("&", "§");
|
errorPrefix = getConfig().getString("prefix.error").replace("&", SYMBOLE_STRING);
|
||||||
gameoverPrefix = getConfig().getString("prefix.gameover").replace("&", "§");
|
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");
|
nametagsVisible = getConfig().getBoolean("nametagsVisible");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue