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

Rewrite proximity engine #295

Merged
merged 13 commits into from
Jun 11, 2023
Merged

Rewrite proximity engine #295

merged 13 commits into from
Jun 11, 2023

Conversation

Ingrim4
Copy link
Member

@Ingrim4 Ingrim4 commented Jun 11, 2023

Description

Rework the proximity engine to only work off thread and to minimize pointless thread wakeups. Also fixed some issues with players getting stuck in proximity hidden blocks through regular proximity checks even if a player can't move.

Related Issue

closes #267

Motivation and Context

Reduce lag and improve player experience.

How Has This Been Tested?

Successfully tested with latest spigot version.

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@Ingrim4 Ingrim4 changed the title Proximity rework Rewrite proximity engine Jun 11, 2023
@Ingrim4 Ingrim4 merged commit e5bfb94 into master Jun 11, 2023
1 check passed
@Ingrim4 Ingrim4 deleted the proximity-rework branch August 15, 2023 21:09
@Ingrim4 Ingrim4 restored the proximity-rework branch August 15, 2023 21:09
@Ingrim4 Ingrim4 deleted the proximity-rework branch August 15, 2023 21:10
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.

[Bug] Ghost-block if player spawns on top of a disquised block
2 participants