run method:
Code:if (playerName.equals("")) { returnCode = 20; disconnected = true; return; }
|
how i can fix this error in server
this appear when u try to connect at server with no name or password how i can fix?pls
[]: <PLAYER> Connection closed by user.
Exception in thread "Thread-3" java.lang.NullPointerException
at server.players.Saving.SaveGame.savegame(SaveGame.j ava:283)
at server.players.client.destruct(client.java:4925)
at server.players.client.run(client.java:8987)
at java.lang.Thread.run(Thread.java:619)
i added it but nothing same error
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |