-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix items unequipping when rejoining the server #2196
base: master
Are you sure you want to change the base?
Fix items unequipping when rejoining the server #2196
Conversation
Works fine IG |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pretty good fix, for which I'd like a lil improvement already (even though we could have as well "cleaned" this later on, I think the PR is is not too big so we can do the change right now)
NitroxClient/GameLogic/InitialSync/EquippedItemInitialSyncProcessor.cs
Outdated
Show resolved
Hide resolved
NitroxServer/Communication/Packets/Processors/EntityMetadataUpdateProcessor.cs
Outdated
Show resolved
Hide resolved
NitroxServer/Communication/Packets/Processors/EntityMetadataUpdateProcessor.cs
Outdated
Show resolved
Hide resolved
NitroxServer/Communication/Packets/Processors/EntityMetadataUpdateProcessor.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From my investigation the following files can be removed with the changes:
- NitroxClient/GameLogic/Helper/SerializationHelper.cs
- NitroxPatcher/Patches/Dynamic/UniqueIdentifier_Id_Getter_Patch.cs
NitroxServer/Communication/Packets/Processors/EntityMetadataUpdateProcessor.cs
Outdated
Show resolved
Hide resolved
@Jannify Changes have been addressed. |
We may want to redo this implementation later if the server needs to handle more metadata updates itself. For now, this will work. This fix will help with testing so I think it's good if we merge it how it is.
Resolves #2186