DiscordSRV broken due to sound changes in 1.21.3
thewilloftheshadow opened this issue ยท 0 comments
1.21.3 is not yet compatible with DiscordSRV due to changes in Sound, causing the following error:
[18:38:16 ERROR]: [DiscordSRV] [JDA] One of the EventListeners had an uncaught exception
java.lang.NoClassDefFoundError: Could not initialize class github.scarsz.discordsrv.util.PlayerUtil
at DiscordSRV-Build-1.28.0.jar//github.scarsz.discordsrv.DiscordSRV.broadcastMessageToMinecraftServer(DiscordSRV.java:1872)
at DiscordSRV-Build-1.28.0.jar//github.scarsz.discordsrv.listeners.DiscordChatListener.onGuildMessageReceived(DiscordChatListener.java:317)
at DiscordSRV-Build-1.28.0.jar//github.scarsz.discordsrv.dependencies.jda.api.hooks.ListenerAdapter.onEvent(ListenerAdapter.java:483)
at DiscordSRV-Build-1.28.0.jar//github.scarsz.discordsrv.dependencies.jda.api.hooks.InterfacedEventManager.handle(InterfacedEventManager.java:96)
at DiscordSRV-Build-1.28.0.jar//github.scarsz.discordsrv.dependencies.jda.internal.hooks.EventManagerProxy.handleInternally(EventManagerProxy.java:88)
at DiscordSRV-Build-1.28.0.jar//github.scarsz.discordsrv.dependencies.jda.internal.hooks.EventManagerProxy.handle(EventManagerProxy.java:70)
at DiscordSRV-Build-1.28.0.jar//github.scarsz.discordsrv.dependencies.jda.internal.JDAImpl.handleEvent(JDAImpl.java:159)
at DiscordSRV-Build-1.28.0.jar//github.scarsz.discordsrv.dependencies.jda.internal.handle.MessageCreateHandler.handleInternally(MessageCreateHandler.java:97)
at DiscordSRV-Build-1.28.0.jar//github.scarsz.discordsrv.dependencies.jda.internal.handle.SocketHandler.handle(SocketHandler.java:36)
at DiscordSRV-Build-1.28.0.jar//github.scarsz.discordsrv.dependencies.jda.internal.requests.WebSocketClient.onDispatch(WebSocketClient.java:952)
at DiscordSRV-Build-1.28.0.jar//github.scarsz.discordsrv.dependencies.jda.internal.requests.WebSocketClient.onEvent(WebSocketClient.java:839)
at DiscordSRV-Build-1.28.0.jar//github.scarsz.discordsrv.dependencies.jda.internal.requests.WebSocketClient.handleEvent(WebSocketClient.java:817)
at DiscordSRV-Build-1.28.0.jar//github.scarsz.discordsrv.dependencies.jda.internal.requests.WebSocketClient.onBinaryMessage(WebSocketClient.java:991)
at DiscordSRV-Build-1.28.0.jar//github.scarsz.discordsrv.dependencies.ws.client.ListenerManager.callOnBinaryMessage(ListenerManager.java:385)
at DiscordSRV-Build-1.28.0.jar//github.scarsz.discordsrv.dependencies.ws.client.ReadingThread.callOnBinaryMessage(ReadingThread.java:276)
at DiscordSRV-Build-1.28.0.jar//github.scarsz.discordsrv.dependencies.ws.client.ReadingThread.handleBinaryFrame(ReadingThread.java:996)
at DiscordSRV-Build-1.28.0.jar//github.scarsz.discordsrv.dependencies.ws.client.ReadingThread.handleFrame(ReadingThread.java:755)
at DiscordSRV-Build-1.28.0.jar//github.scarsz.discordsrv.dependencies.ws.client.ReadingThread.main(ReadingThread.java:108)
at DiscordSRV-Build-1.28.0.jar//github.scarsz.discordsrv.dependencies.ws.client.ReadingThread.runMain(ReadingThread.java:64)
at DiscordSRV-Build-1.28.0.jar//github.scarsz.discordsrv.dependencies.ws.client.WebSocketThread.run(WebSocketThread.java:45)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NullPointerException [in thread "DiscordSRV - Presence Updater"]
at DiscordSRV-Build-1.28.0.jar//github.scarsz.discordsrv.util.PlayerUtil.<clinit>(PlayerUtil.java:79)
at DiscordSRV-Build-1.28.0.jar//github.scarsz.discordsrv.objects.threads.PresenceUpdater.run(PresenceUpdater.java:77)