Solved bug with text encoding and changed default host to 0.0.0.0
This commit is contained in:
@ -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"));
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user