Skip to content

Fix double evaluation when using VariableStrings with EffBroadcast. #7775

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

Open
wants to merge 1 commit into
base: dev/feature
Choose a base branch
from

Conversation

sovdeeth
Copy link
Member

@sovdeeth sovdeeth commented Apr 5, 2025

Description

Adds a StringBuilder parameter to VariableString.getMessageContents in order to allow capture of both the components and the unformatted string version without having to evaluate any expressions twice.


Target Minecraft Versions: any
Requirements: none
Related Issues: #7718

@sovdeeth sovdeeth added the bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. label Apr 5, 2025
@sovdeeth sovdeeth requested review from a team as code owners April 5, 2025 01:13
@sovdeeth sovdeeth requested review from UnderscoreTud and APickledWalrus and removed request for a team April 5, 2025 01:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An issue that needs to be fixed. Alternatively, a PR fixing an issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants