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…
Reference in New Issue
Block a user