Skip to content

[ref:balugaq/rebar-rejoin-handler] Add rejoin handler#970

Merged
LordIdra merged 3 commits into
masterfrom
balugaq/rebar-rejoin-handler
May 18, 2026
Merged

[ref:balugaq/rebar-rejoin-handler] Add rejoin handler#970
LordIdra merged 3 commits into
masterfrom
balugaq/rebar-rejoin-handler

Conversation

@balugaq
Copy link
Copy Markdown
Collaborator

@balugaq balugaq commented May 1, 2026

Companion to pylonmc/rebar#720
Closes #899

@balugaq balugaq self-assigned this May 1, 2026
@balugaq
Copy link
Copy Markdown
Collaborator Author

balugaq commented May 1, 2026

tested

if (!event.getPlayer().getPersistentDataContainer().has(PylonKeys.FLIGHT_RING)) {
return;
}
for (ItemStack stack : event.getPlayer().getInventory()) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you iterating the inventory when the rejoin handler already does that?

@JustAHuman-xD
Copy link
Copy Markdown
Contributor

This & the rebar PR are also gonna need to be updated with my performance PR

@Seggan Seggan self-requested a review May 12, 2026 17:49
@LordIdra
Copy link
Copy Markdown
Contributor

I found a large number of issues with the original handler and reworked it - have pushed corresponding changes to this PR

@LordIdra LordIdra requested a review from a team May 18, 2026 00:11
@LordIdra LordIdra merged commit 7e2f035 into master May 18, 2026
1 of 2 checks passed
@LordIdra LordIdra deleted the balugaq/rebar-rejoin-handler branch May 18, 2026 19:34
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.

Flight Ring Doesnt Work On Rejoin.

4 participants