Closed iHxtch closed 2 months ago
Currently using foundation 6.8.2. Seems like the newer versions have the InventoryView class as an Interface but versions such as 1.20.1 has it an abstract class. Received the below error when using the setItem() method in org.mineacademy.fo.menu.
6.8.2
InventoryView
1.20.1
setItem()
org.mineacademy.fo.menu
Error: https://pastebin.com/REpPQqc8
I don't honestly know how to fix that. You can import spigot above foundation and then just call that method directly on the inventory.
Correction: Fixed using reflection, see latest foundation commit.
Currently using foundation
6.8.2
. Seems like the newer versions have theInventoryView
class as an Interface but versions such as1.20.1
has it an abstract class. Received the below error when using thesetItem()
method inorg.mineacademy.fo.menu
.Error: https://pastebin.com/REpPQqc8