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: rendering npe #356

Merged
merged 3 commits into from
Jan 26, 2024
Merged

Fix: rendering npe #356

merged 3 commits into from
Jan 26, 2024

Conversation

rainbowdashlabs
Copy link
Member

Fix an issue where a sink was null, but still queued for rendering.

The version number in the build.gradle.kts file was updated from 2.6.0 to 2.6.1. This minor version update likely includes bug fixes or very small changes that do not substantially alter the functionality of the project.
The remove method in PacketWorker has been simplified. The comparison of player unique identifiers is now done in a single line, eliminating the repetitive and more complex boolean logic that existed before, making the code cleaner and easier to understand.
The resolveBlocked method in RenderService class has been refactored. We removed the process method and added the remove method from worker object, making the code easier to reason about. This also fixes the issue where playerSink object might not have been correctly updated before performing the remove operation.
@rainbowdashlabs rainbowdashlabs changed the base branch from master to dev January 26, 2024 12:49
@rainbowdashlabs rainbowdashlabs enabled auto-merge (squash) January 26, 2024 12:50
@rainbowdashlabs rainbowdashlabs merged commit 296e82a into dev Jan 26, 2024
3 checks passed
@rainbowdashlabs rainbowdashlabs deleted the fix/rendering-npe branch January 26, 2024 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant