Fix #19.
This commit is contained in:
parent
664ffbf86d
commit
4feda54dd3
|
@ -50,7 +50,7 @@ public class ServerHandshakeNetHandlerMixin {
|
||||||
case LOGIN: {
|
case LOGIN: {
|
||||||
this.networkManager.setConnectionState(ProtocolType.LOGIN);
|
this.networkManager.setConnectionState(ProtocolType.LOGIN);
|
||||||
|
|
||||||
|
// todo forge use ip field for storing forge data, this may be an issue
|
||||||
try {
|
try {
|
||||||
long currentTime = System.currentTimeMillis();
|
long currentTime = System.currentTimeMillis();
|
||||||
long connectionThrottle = Bukkit.getServer().getConnectionThrottle();
|
long connectionThrottle = Bukkit.getServer().getConnectionThrottle();
|
||||||
|
|
|
@ -267,6 +267,6 @@ public abstract class ServerLoginNetHandlerMixin implements ServerLoginNetHandle
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
LOGGER.info("UUID of player {} is {}", loginGameProfile.getName(), loginGameProfile.getId());
|
LOGGER.info("UUID of player {} is {}", loginGameProfile.getName(), loginGameProfile.getId());
|
||||||
currentLoginState = ServerLoginNetHandler.State.READY_TO_ACCEPT;
|
currentLoginState = ServerLoginNetHandler.State.NEGOTIATING;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user