I hate singleplayer

This commit is contained in:
catfoolyou 2025-03-26 19:08:30 -04:00
parent 7307920c30
commit 27a91f4260
7 changed files with 15308 additions and 15296 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

File diff suppressed because one or more lines are too long

View File

@ -93,8 +93,9 @@ public class WorkerNetworkManager implements INetworkManager {
//System.out.println("[Server][" + ipcChannel + "]: packet '" + pkt.getClass().getSimpleName() + "' recieved");
try {
pkt.processPacket(theNetHandler); // This is a problem, it bitches with the error message below
pkt.processPacket(theNetHandler); // This is a problem
}catch(Throwable t) {
System.out.println(theNetHandler.getClass().getSimpleName());
System.err.println("Could not process minecraft packet 0x" + Integer.toHexString(pkt.getPacketId()) + " class '" + pkt.getClass().getSimpleName() + "' on channel 'NET|" + ipcChannel + "'");
t.printStackTrace();
}

View File

@ -51,14 +51,13 @@ public class NetLoginHandler extends NetHandler {
*/
public void handlePackets() {
System.out.println("[SP-Server][LOGIN][HANDLE][" + clientUsername + "]");
if (this.field_72544_i) { // FIX THIS SHIT!!!
if (this.field_72544_i) { // FIX THIS SHIT!!! this.field_72544_i
this.initializePlayerConnection();
return;
}
if (this.loginTimer++ == 600) {
this.kickUser("Took too long to log in");
System.out.println("Bitch hurry the fuck up");
} else {
this.myTCPConnection.processReadPackets(); // problem
}

View File

@ -1297,7 +1297,9 @@ public class Minecraft
displayEaglercraftText("Note: " + var4.translateKey("fancyGraphicsNote"));
}
displayEaglercraftText("Warning: world loading may take a while, so you may need to wait for a few seconds for the world to load and the lag will stop.");
if(!EaglerAdapter.isIntegratedServerAvailable()){
displayEaglercraftText("Warning: world loading may take a while, so you may need to wait for a few seconds for the world to load and the lag will stop.");
}
if(this.gameSettings.showCoordinates) {
displayEaglercraftText(EnumChatFormatting.LIGHT_PURPLE + "Note: use F+6 to hide the coordinates off of the screen (if you're in public)");