Skip to content
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 Infinite Spraycan client desync issue #3298

Merged
merged 1 commit into from
Sep 28, 2024

Conversation

querns
Copy link
Contributor

@querns querns commented Sep 28, 2024

The infinite spraycan was making an unnecessary call to player.sendSlotContents, which was causing client-side weirdness. Sometimes, it would try to put the spraycan in your boots slot, but taking it out brought the boots back. Other times, it was populating the top-left square in the 2x2 crafting window. Removing this call stopped the weird ghost spraycans showing up.

Tested on both SSP and SMP versions of the dev pack; spray can worked fine.

@Dream-Master Dream-Master requested a review from a team September 28, 2024 17:33
@Dream-Master Dream-Master added the bug fix Fix a bug. Please link it in the PR. label Sep 28, 2024
@Dream-Master Dream-Master merged commit 496881a into GTNewHorizons:master Sep 28, 2024
5 of 6 checks passed
@querns querns deleted the isc-desync-fix branch September 28, 2024 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fix Fix a bug. Please link it in the PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants