XSeries icon indicating copy to clipboard operation
XSeries copied to clipboard

[XSound] - "java.lang.NoClassDefFoundError: org/bukkit/SoundCategory" on 1.8.8

Open cervinakuy opened this issue 11 months ago • 1 comments

Description Hello, I'm the developer of KitPvP. KitPvP has used XSeries for years at this point - thank you for everything you do.

Anyway, I've been receiving multiple reports of this error on 1.8.8: https://pastebin.com/5ThHiNRy

Code references:

At a glance, SoundCategory indeed does not exist in Spigot 1.8.8, so the error does seem to make sense. I would imagine XSound is accidentally loading SoundCategory-related code when it shouldn't be (e.g. 1.8.8 version or greater, where SoundCategory does not exist).

Version In the particular pastebin I've provided, Paper Spigot 1.8.8. I suppose this problem could also apply to versions >= 1.8.8 where SoundCategory also does not exist.

cervinakuy avatar Feb 25 '24 09:02 cervinakuy

Yes, it looks like SoundCategory was introduced in v1.11 I'll fix it

CryptoMorin avatar Feb 26 '24 04:02 CryptoMorin

Hi, any updates on this?

I'm still receiving messages about this issue from plugin users, and unfortunately, it seems the error prevents the plugin from loading/enabling at all. If helpful, it seems another consumer of XSeries/XSound developed a fix, maybe it could serve as a starting point.

cervinakuy avatar Mar 25 '24 12:03 cervinakuy

I'm sorry for the late reply. I was away for a while. It's fixed in v9.10.0 now.

CryptoMorin avatar Apr 05 '24 18:04 CryptoMorin