diff --git a/Plugins/Mineplex.ServerData/src/mineplex/serverdata/servers/ServerManager.java b/Plugins/Mineplex.ServerData/src/mineplex/serverdata/servers/ServerManager.java index 4b4088bc9..dd84ee13a 100644 --- a/Plugins/Mineplex.ServerData/src/mineplex/serverdata/servers/ServerManager.java +++ b/Plugins/Mineplex.ServerData/src/mineplex/serverdata/servers/ServerManager.java @@ -1,6 +1,7 @@ package mineplex.serverdata.servers; import java.io.File; +import java.nio.charset.Charset; import java.nio.file.Files; import java.util.ArrayList; import java.util.HashMap; @@ -90,7 +91,7 @@ public class ServerManager if (configFile.exists()) { - List lines = Files.readAllLines(configFile.toPath()); + List lines = Files.readAllLines(configFile.toPath(), Charset.defaultCharset()); ConnectionData master = deserializeConnection(lines.get(0)); List slaves = new ArrayList();