From 948e5165050cf67eac0b6448e32fc88108742b54 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Tue, 16 Jun 2020 02:24:51 +1200 Subject: [PATCH] Revert "Try handle client packets sync" This reverts commit acf5696fa999219bb3426c71f578c2ca2fc7a641. --- .../disguise/utilities/packets/PacketsManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/libraryaddict/disguise/utilities/packets/PacketsManager.java b/src/main/java/me/libraryaddict/disguise/utilities/packets/PacketsManager.java index 915d5528..e7e852d2 100644 --- a/src/main/java/me/libraryaddict/disguise/utilities/packets/PacketsManager.java +++ b/src/main/java/me/libraryaddict/disguise/utilities/packets/PacketsManager.java @@ -35,7 +35,7 @@ public class PacketsManager { clientInteractEntityListener = new PacketListenerClientInteract(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(new PacketListenerClientCustomPayload());