Update Server.java

same problem with client