Fix bot removal

This commit is contained in:
Brady 2020-03-13 08:38:46 -05:00
parent dee737689d
commit 5b1340e362
No known key found for this signature in database
GPG Key ID: 73A788379A197567
1 changed files with 5 additions and 5 deletions

View File

@ -75,11 +75,11 @@ public enum UserManager implements IUserManager, AbstractGameEventListener, Help
case IN: {
if (user.getPlayer() != null && user.getPlayerController() != null) {
user.getPlayerController().syncHeldItem();
if (user.getNetworkManager().isChannelOpen()) {
user.getNetworkManager().processReceivedPackets();
} else {
user.getNetworkManager().handleDisconnection();
}
}
if (user.getNetworkManager().isChannelOpen()) {
user.getNetworkManager().processReceivedPackets();
} else {
user.getNetworkManager().handleDisconnection();
}
break;
}