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

[1.21.3] Pass player argument when firing OnDatapackSyncEvent #10170

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

SuperMartijn642
Copy link
Contributor

A while ago I submitted a pull request to add back the patch to fire the OnDatapackSyncEvent event in PlayerList#placeNewPlayer, #10076. This was supposed to be a straight copy from the patch in 1.20.4 (PlayerList.java.patch), however it seems I made a mistake and somehow managed to put null for the player argument rather than passing the player object.

This PR simply passes the player object to the event rather than null.

@autoforge autoforge bot added Triage This request requires the active attention of the Triage Team. Requires labelling or reviews. LTS This issue/PR is related to the current LTS version. 1.21 labels Nov 12, 2024
@autoforge autoforge bot requested a review from a team November 12, 2024 01:41
@autoforge autoforge bot added Assigned This request has been assigned to a core developer. Will not go stale. and removed Triage This request requires the active attention of the Triage Team. Requires labelling or reviews. labels Nov 12, 2024
@Jonathing
Copy link
Member

Shit happens

@LexManos LexManos merged commit b2bf70c into MinecraftForge:1.21.x Nov 12, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.21 Assigned This request has been assigned to a core developer. Will not go stale. LTS This issue/PR is related to the current LTS version.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants