mirror of
https://git.zelz.net/catfoolyou/Project164.git
synced 2025-12-14 22:17:41 +00:00
Its a bungee problem
This commit is contained in:
@@ -68,7 +68,6 @@ public class WebsocketNetworkManager implements INetworkManager {
|
||||
private LinkedList<ByteBuffer> readChunks = new LinkedList<>();
|
||||
|
||||
public void processReadPackets() {
|
||||
System.out.println("[WebsocketNetworkManager] - processReadPackets called");
|
||||
readChunks.clear();
|
||||
|
||||
if(oldChunkBuffer != null) {
|
||||
|
||||
@@ -75,7 +75,7 @@ public class GuiConnecting extends GuiScreen {
|
||||
}
|
||||
|
||||
this.clientHandler = new NetClientHandler(this.mc, uri, 0);
|
||||
System.out.println("Sending packets");
|
||||
System.out.println("[GuiConnecting] - Sending packets");
|
||||
this.clientHandler.addToSendQueue(new Packet2ClientProtocol(78, EaglerProfile.username, uria, port));
|
||||
this.clientHandler.addToSendQueue(new Packet250CustomPayload("EAG|MySkin", EaglerProfile.getSkinPacket()));
|
||||
this.clientHandler.addToSendQueue(new Packet250CustomPayload("EAG|MyCape", EaglerProfile.getCapePacket()));
|
||||
@@ -89,7 +89,6 @@ public class GuiConnecting extends GuiScreen {
|
||||
}
|
||||
}
|
||||
if(this.clientHandler != null) {
|
||||
System.out.println("[GuiConnecting] - Processing packets");
|
||||
this.clientHandler.processReadPackets();
|
||||
}
|
||||
else {
|
||||
|
||||
@@ -93,9 +93,6 @@ public class NetClientHandler extends NetHandler {
|
||||
if (this.netManager != null) {
|
||||
this.netManager.processReadPackets();
|
||||
}
|
||||
else {
|
||||
System.err.println("[NetClientHandler] - netManager is null!");
|
||||
}
|
||||
|
||||
if(!EaglerAdapter.connectionOpen()) {
|
||||
if(!this.disconnected) {
|
||||
|
||||
Reference in New Issue
Block a user