I want to be able to save and load the player inventory in a CFG.
However, I get an error when loading.
API (Memory and Load) class (Save, Load method is at the bottom):
Class in which the Inv is stored (line 75):
Class in which the Inv is loaded (line 57):
error message
Your Java code is not very good. I have the feeling that you have not understood the basics of object-oriented programming, but want to get started right away with Minecraft. Is a bad idea.
First learn Java, then write Minecraft plugins.
In addition, your question is inaccurate. It does not mention which error occurs.
I forgot the error message.
Why is not my code good? What is wrong in your eyes?