This commit is contained in:
IzzelAliz 2020-07-16 14:57:10 +08:00
parent 664ffbf86d
commit 4feda54dd3
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -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;
} }
} }