fix: fixed doc
This commit is contained in:
parent
054662957a
commit
17eb44ce49
@ -226,7 +226,6 @@ public class UserManager {
|
||||
Logger.trace("relaying message to be handled by the LobbyManager...");
|
||||
if(LobbyManager.getInstance().handleSelection(client, message)) {
|
||||
Logger.trace("Handled successfully");
|
||||
client.state = ClientState.Playing;
|
||||
} else {
|
||||
client.sendError("Invalid message.");
|
||||
}
|
||||
@ -236,7 +235,7 @@ public class UserManager {
|
||||
private void handleRequestsMessage(Client client, RequestMessage message) {
|
||||
Logger.trace("Handling RequestMessage");
|
||||
if(client.state != ClientState.Playing) {
|
||||
Logger.debug("Couldn't handle RequestMessage as client wasn't in assignedState but in {}",
|
||||
Logger.debug("Couldn't handle RequestMessage as client wasn't in playingState but in {}",
|
||||
client.state);
|
||||
client.sendError("Invalid message, as client is not ingame");
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user