Topic category: Help with modding (Java Edition)
I think i wrote the NBT read and write code correctly so the variable saves when i save and quit the world and rejoin..
But if i close the client and reopen it it resets the variable entirely. I saw that the code was resetting the variable back to 0 each time but i have no idea how to remove that.
Any help with this problem now?