- Jan 17, 2023
Hello! I used to learn Java and tried to make a minecraft plugin. I wanted to create a command. It worked until then, but when I got to creating an ItemStack and placing it in the inventory, I got this error: Unable to resolve method 'setItem(ItemStack)' How can I resolve this. I am attaching my full code! Thank you in advance for your help! My code editor is Intellij IDEA.