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

Split FixHandleSetSlot into container & inv #444

Merged
merged 1 commit into from
Dec 1, 2024

Conversation

RecursivePineapple
Copy link
Contributor

@RecursivePineapple RecursivePineapple commented Nov 25, 2024

FixHandleSetSlot checked the length of openContainer even when the packet was for the player's inventory.
This prevented player inventory updates when a server-side gui was open.

To fix this, the existing mixin was split into two and the cancel code was tweaked slightly (it had two targets already).

Before:
image

After:
image

closes: GTNewHorizons/GT-New-Horizons-Modpack#18170

FixHandleSetSlot checked the length of openContainer even when the
packet was for the player's inventory.
This prevented player inventory updates when a server-side gui was open.

To fix this, the existing mixin was split into two and the cancel code
was tweaked slightly (it had two targets already).
@serenibyss serenibyss merged commit 24d01b6 into master Dec 1, 2024
1 check passed
@serenibyss serenibyss deleted the handle-set-slot-inventory branch December 1, 2024 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Programming circuit refresh is not timely
2 participants