Revert "Try handle client packets sync"

This reverts commit acf5696fa9.
This commit is contained in:
libraryaddict 2020-06-16 02:24:51 +12:00
parent acf5696fa9
commit 948e516505
No known key found for this signature in database
GPG Key ID: 052E4FBCD257AEA4

View File

@ -35,7 +35,7 @@ public class PacketsManager {
clientInteractEntityListener = new PacketListenerClientInteract(LibsDisguises.getInstance()); clientInteractEntityListener = new PacketListenerClientInteract(LibsDisguises.getInstance());
PacketListener tabListListener = new PacketListenerTabList(LibsDisguises.getInstance()); PacketListener tabListListener = new PacketListenerTabList(LibsDisguises.getInstance());
ProtocolLibrary.getProtocolManager().getAsynchronousManager().registerAsyncHandler(clientInteractEntityListener).syncStart(); ProtocolLibrary.getProtocolManager().addPacketListener(clientInteractEntityListener);
ProtocolLibrary.getProtocolManager().addPacketListener(tabListListener); ProtocolLibrary.getProtocolManager().addPacketListener(tabListListener);
ProtocolLibrary.getProtocolManager().addPacketListener(new PacketListenerClientCustomPayload()); ProtocolLibrary.getProtocolManager().addPacketListener(new PacketListenerClientCustomPayload());