Closed Wolvinny closed 5 months ago
You cannot just cast a player to an audience. You need to properly use an in-date and supported version of adventure-platform-bukkit. If you need more assistance I'd recommend jumping into our Discord or using our Discussions page.
i must've skipped past that somehow. works now! thanks!
I've freshly installed this, and i'm trying with the most basic code in the docs Sender is a Player instance.
The docs dont really explain what Audience should be, the example just shows
Audience =...
. Tried without casting, that threw a noSuchMethodError. This code produces the following errorCaused by: java.lang.IncompatibleClassChangeError: Class org.bukkit.craftbukkit.v1_20_R3.entity.CraftPlayer does not implement the requested interface net.kyori.adventure.audience.Audience
Dependencies:
Server is running craftbukkit, 1.20.4, plain vanilla with no other plugins. I might be overlooking something but i've been stuck at this for a while now