CoreProtect

CoreProtect

1M Downloads

1.21 changes InventoryView from an abstract class to an interface

CyberFlameGO opened this issue · 6 comments

commented

Title; produces

java.lang.IncompatibleClassChangeError: Found class org.bukkit.inventory.InventoryView, but interface was expected
    at CoreProtect-22.4.jar//net.coreprotect.listener.player.InventoryChangeListener.onInventoryClick(InventoryChangeListener.java:254)

when running on versions less than 1.21

commented

Purpur issue, resolved in the latest Purpur 1.21 builds.

commented

No I'm on Purpur 1.20.6

commented

Yes, and it’s fixed in the 1.21 builds

commented

My bad there - I meant that (from Spigot's git commit) it looks like the code won't work on any servers with a lower version than 1.21 which is why I created the issue (unless that's out of scope)

commented

The issue isn’t something that can be fixed by CoreProtect.

Options are to use Purpur 1.21, or use Paper 1.20.6

commented

Ah alrighty