mirror of
https://git.zelz.net/catfoolyou/Project164.git
synced 2025-12-14 08:47:40 +00:00
I hate singleplayer
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user