Skip to content

Conversation

@marcbal
Copy link
Contributor

@marcbal marcbal commented Nov 23, 2024

In ArgumentBuilder, the redirect method resets the values of the properties modifier and forks to null and false respectively.
This prevented the Brigadier commands registered during the Lifecycle event to use any redirect using the fork method.
This PR changes the use of the redirect method by the forward method to directly set the 3 forwarding related properties.

@marcbal marcbal requested a review from a team as a code owner November 23, 2024 22:44
@Owen1212055 Owen1212055 force-pushed the fix-brigadier-redirect branch from a4a4d7d to 9deb599 Compare December 8, 2024 21:17
@Owen1212055 Owen1212055 merged commit bdfa1f6 into PaperMC:master Dec 8, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Merged

Development

Successfully merging this pull request may close these issues.

3 participants