Possible skill issue

This commit is contained in:
ThisIsALegitUsername 2023-02-22 18:08:30 +00:00
parent 00fe3f56c9
commit 3cd975f85c
4 changed files with 32979 additions and 33046 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@ -282,21 +282,24 @@ public class PlayerControllerMP {
}
public void updateController() {
this.syncCurrentPlayItem();
if (this.netClientHandler.getNetworkManager().isChannelOpen()) {
try {
this.netClientHandler.getNetworkManager().processReceivedPackets();
} catch (IOException ex) {
EaglercraftNetworkManager.logger.fatal("Unhandled IOException was thrown " + "while processing multiplayer packets!");
EaglercraftNetworkManager.logger.fatal(ex);
EaglercraftNetworkManager.logger.fatal("Disconnecting...");
this.netClientHandler.getNetworkManager().closeChannel(new ChatComponentText("Exception thrown: " + ex.toString()));
}
this.netClientHandler.getSkinCache().flush();
} else {
this.netClientHandler.getNetworkManager().checkDisconnected();
}
}
this.syncCurrentPlayItem();
if (this.netClientHandler.getNetworkManager().isChannelOpen()) {
try {
this.netClientHandler.getNetworkManager().processReceivedPackets();
} catch (IOException ex) {
EaglercraftNetworkManager.logger
.fatal("Unhandled IOException was thrown " + "while processing multiplayer packets!");
EaglercraftNetworkManager.logger.fatal(ex);
EaglercraftNetworkManager.logger.fatal("Disconnecting...");
this.netClientHandler.getNetworkManager()
.closeChannel(new ChatComponentText("Exception thrown: " + ex.toString()));
}
this.netClientHandler.getSkinCache().flush();
} else {
this.netClientHandler.getNetworkManager().checkDisconnected();
}
}
private boolean isHittingPosition(BlockPos pos) {
ItemStack itemstack = this.mc.thePlayer.getHeldItem();