Revert "Fix the async sounds listener"

This reverts commit 6e3f5c1606.
This commit is contained in:
libraryaddict 2014-07-28 22:13:11 +12:00
parent 6e3f5c1606
commit 20aca0512f

View File

@ -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();
}
}
}