mehboss / CustomRecipes

CustomRecipes source code
Mozilla Public License 2.0
2 stars 1 forks source link

On Paper 1.20.4, java.lang.IncompatibleClassChangeError: Found class org.bukkit.inventory.InventoryView, but interface was expected #57

Open Poikilos opened 1 day ago

Poikilos commented 1 day ago

What happened?

java.lang.IncompatibleClassChangeError: Found class org.bukkit.inventory.InventoryView, but interface was expected

...but the plugin works (and #55 and #56 fixed)

What was supposed to happen?

Perform check to allow cross-version compatibility

How do I reproduce this issue?

1. Install plugin
2. Load Paper 1.20.4 server
3. Join server

Relevant log output

https://pastebin.com/0uVDtPfN

Relevant file configuration

No response

Server Version

Paper 1.20.4

Plugin Version

1.9.2

Server Mode

Online Mode

Issue Confirmation

mehboss commented 1 day ago

https://pastebin.com/izJnvFfS This is my startup log on paper 1.20.4 according to your reproduction steps.

Poikilos commented 7 hours ago

Ok, I cannot reproduce the error. I'll let you know if I run into it again. Thanks.

Poikilos commented 7 hours ago

For future reference I made a linux program to run various server versions (may make Windows version) using GUI buttons: https://github.com/Poikilos/MoreServers

mehboss commented 5 hours ago

I was able to reproduce by trying the recipe book. Seems like it broke in 1.20. I have a fix, just waiting to fix the other issue.

Thank you