diff --git a/src/main/java/baritone/bot/UserManager.java b/src/main/java/baritone/bot/UserManager.java index 427a0982..ed0a5e01 100644 --- a/src/main/java/baritone/bot/UserManager.java +++ b/src/main/java/baritone/bot/UserManager.java @@ -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; }