Skip to content

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

Open
balugaq wants to merge 2 commits into
masterfrom
balugaq/rebar-rejoin-handler
Open

[ref:balugaq/rebar-rejoin-handler] Add rejoin handler#970
balugaq wants to merge 2 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
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.

3 participants