Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Capability Resets On Rejoining World [1.16.5]

Recommended Posts

Hi, I'm having a problem, I implemented a capability but whenever I leave and rejoin the world it resets to the default value, I've tried copying player data from the playerclone event. Should I copy the data over on another event or what should I do so it persists?

Link to post
Share on other sites
23 minutes ago, Toktom said:

Are u sure it is saving? If it is, I think you have a problem on reading the NBT data, you should revise that.

Yeah its definitely saving, but you were right, I checked my readNBT method and I was using the wrong setter method, It works now, thanks


  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.