mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-26 12:08:17 +00:00
Removed debug message and fixed NullPtrException (#434)
* Removed a debug message from Auth Handler changes Kill me * Also forgot to use the getter :/
This commit is contained in:
parent
a102613313
commit
f7b8d9b45f
@ -309,7 +309,7 @@ public final class DispatchServer {
|
||||
}
|
||||
Grasscutter.getLogger().info(String.format("[Dispatch] Client %s is trying to log in", req.ip()));
|
||||
|
||||
res.send(authHandler.handleGameLogin(req, requestData));
|
||||
res.send(this.getAuthHandler().handleGameLogin(req, requestData));
|
||||
});
|
||||
|
||||
// Login via token
|
||||
@ -491,8 +491,6 @@ public final class DispatchServer {
|
||||
if(authHandler == null) {
|
||||
return new DefaultAuthenticationHandler();
|
||||
}
|
||||
Grasscutter.getLogger().info(authHandler.getClass().getName());
|
||||
|
||||
return authHandler;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user