Revert "Fix the async sounds listener"
This reverts commit 6e3f5c1606326d53adf565bc58be734f30be56e6.
This commit is contained in:
parent
6e3f5c1606
commit
20aca0512f
@ -1066,10 +1066,8 @@ public class PacketsManager {
|
||||
if (soundsListenerEnabled) {
|
||||
asyncSoundsListener = ProtocolLibrary.getProtocolManager().getAsynchronousManager()
|
||||
.registerAsyncHandler(soundsListener);
|
||||
asyncSoundsListener.syncStart();
|
||||
} else {
|
||||
ProtocolLibrary.getProtocolManager().getAsynchronousManager().unregisterAsyncHandler(asyncSoundsListener);
|
||||
asyncSoundsListener.syncStop();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user