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

Improve super tank fluid sync #2017

Merged
merged 1 commit into from
Jul 31, 2023
Merged

Improve super tank fluid sync #2017

merged 1 commit into from
Jul 31, 2023

Conversation

serenibyss
Copy link
Member

Improves super tank fluid sync in two ways:

  • No longer sends a packet with null fluid stack each tick while empty
  • Only sends a packet with an int instead of a serialized NBT fluidstack when the amount changes

@serenibyss serenibyss added the type: refactor Suggestion to refactor a section of code label Jul 30, 2023
@serenibyss serenibyss requested a review from a team as a code owner July 30, 2023 07:20
@serenibyss serenibyss merged commit ae7636c into master Jul 31, 2023
@serenibyss serenibyss deleted the sb-fix-tank-sync branch July 31, 2023 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: refactor Suggestion to refactor a section of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants