which methods do you mean?
writeToNBT and loadFromNBT?
In InventoryStackWrapper is my save and load code:
(I have no idea what synchronized(this) does, I kinda stole it from EnderStorage )
the strange thing is that when I go trough the code step by step and watch the ItemStack object, I can see, that the NBTTag is properly written and in game it works too.
But when I run the code without the debugger it doesn't work!
Another thing I noticed in debug mode was, that the stack object of InventoryStackWrapper(ItemStack stack) changes, if it's referenced outside the constructor scope so the initial load seems to work but not the save later on.
Since I have no idea how the memory management in java works, i have no idea what could be causing that