Correct typo

This commit is contained in:
libraryaddict 2019-06-08 01:19:52 +12:00
parent de9088dee8
commit f4294c609b

View File

@ -176,10 +176,10 @@ public class PacketsManager {
viewDisguisesListenerEnabled = enabled;
if (viewDisguisesListenerEnabled) {
ProtocolLibrary.getProtocolManager().getAsynchronousManager().registerAsyncHandler(mainListener)
ProtocolLibrary.getProtocolManager().getAsynchronousManager().registerAsyncHandler(viewDisguisesListener)
.syncStart();
} else {
ProtocolLibrary.getProtocolManager().getAsynchronousManager().unregisterAsyncHandler(mainListener);
ProtocolLibrary.getProtocolManager().getAsynchronousManager().unregisterAsyncHandler(viewDisguisesListener);
}
for (Player player : Bukkit.getOnlinePlayers()) {