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

Replace all occurunces of %player% with %player_name% #2

Open
Thorinwasher opened this issue Feb 28, 2025 · 0 comments · May be fixed by #3
Open

Replace all occurunces of %player% with %player_name% #2

Thorinwasher opened this issue Feb 28, 2025 · 0 comments · May be fixed by #3

Comments

@Thorinwasher
Copy link

Thorinwasher commented Feb 28, 2025

BreweryX uses the %player_name% placeholder, not the %player% placeholder as according to this code:

public static String applyPlaceholders(String input, String player, int quality) {
    return input.replaceAll("%player_name%", player).replaceAll("%quality%", String.valueOf(quality));
}

(https://github.com/BreweryTeam/BreweryX/blob/71a9451811d8386fb721d53c889b4695047de4bb/src/main/java/com/dre/brewery/utility/BUtil.java#L279)

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 a pull request may close this issue.

1 participant