Jump to content

Recommended Posts

Posted

as you read the title yes the BackpackProperty doesnt get synced properly i am trying to fix this mod called the adventurebackpack mod i had made a few fixes but i came cross this bug this let me try to explain the best way i can

this is singleplayer https://gyazo.com/fcba1dc3b1d768c4a85fcd1639f7e8e9 work fine as you see

this is what happen when you connect to bungeecord https://gyazo.com/658abcddbc285ee2581269424a47a278 as you see the backpack is not displaying on the back i am having an hard time trying to fix this bug here the source code

https://github.com/runescapejon/AdventureBackpack2/blob/master/src/main/java/com/darkona/adventurebackpack/playerProperties/BackpackProperty.java

 

if any of you can help me i am new to programming minecraft mods :(

Posted

okay i had found more information about this issue and the problem is it don't sync when you move server to server (like the way bungeecord works) so in the code it's bascially not syncing the right way and cause the backpack to not show on your back here is the code that sync when player login

https://github.com/runescapejon/AdventureBackpack2/blob/3e11048165cd3825a32ab93893b09b1671dc1271/src/main/java/com/darkona/adventurebackpack/handlers/PlayerEventHandler.java#L87-L94

 

again sorry but can one of you guys can help me about this problem

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.