-
-
Notifications
You must be signed in to change notification settings - Fork 14
GH-406 fix: audit findings #406
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
Draft
Jakubk15
wants to merge
17
commits into
master
Choose a base branch
from
fix/audit-findings
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
7bafa8e
fix: remove duplicate PlaceBlockBlocker registration
Jakubk15 e7d0eec
fix: continue instead of return on expired combat tag
Jakubk15 f07e5e2
fix: enforce headDropOnlyInCombat for player head drops
Jakubk15 80adc99
fix: guard against offline player in TridentController.onUntag
Jakubk15 0173594
fix: do not throw on offline tagged player in knockback onTag
Jakubk15 a69bc11
fix: spawn death-flare particles on sync scheduler
Jakubk15 baff6b9
fix: drop overflow items instead of losing them on respawn
Jakubk15 6b53c40
fix: make removeRandomItems safe and progress-guaranteed
Jakubk15 bedb241
fix: remove TOCTOU NPE window in isInCombat
Jakubk15 04d01d7
fix: close namespaced/padded command bypass in CommandsBlocker
Jakubk15 7747bfb
fix: evict expired tag-out entries via self-expiring cache
Jakubk15 a36af22
fix: parenthesize pearl cooldown tick conversion
Jakubk15 02040c3
fix: avoid half-applied tag and dead code in tagMultiple
Jakubk15 6876a2d
fix: drop respawn leftovers at the respawn location
Jakubk15 7e484c2
fix: do not untag already-in-combat player on tagMultiple rollback
Jakubk15 51a0bed
fix: guard against null slots in removeRandomItems
Jakubk15 e3b81e0
Respect namespace when checking restricted commands
Jakubk15 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -102,7 +102,7 @@ private void spawnFlare(Player player) { | |
| } | ||
|
|
||
| private void scheduleParticles(Firework flare, World world) { | ||
| this.scheduler.runLaterAsync( | ||
| this.scheduler.runLater( | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I feel like this needs testing - wrote it that way so it does not lag - dont know what happens in this scenario |
||
| () -> { | ||
| if (flare.isDead() || !flare.isValid()) { | ||
| return; | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.