Solved bug with text encoding and changed default host to 0.0.0.0

This commit is contained in:
Carlos
2020-05-30 13:49:13 +02:00
parent 2643999e8d
commit d1b158a0fe
18 changed files with 240 additions and 214 deletions

View File

@ -111,7 +111,7 @@ public class WSServer extends WebSocketServer {
try {
conn.send(content.toJSON());
}catch(WebsocketNotConnectedException e) {
Bukkit.getLogger().warning("Tried to send message to a disconnected client.");
Bukkit.getLogger().warning(Internationalization.getPhrase("error-disconnected-client"));
}
}