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

[Bug] BossBarHiding not worked on other lang except English due to hard coding name on BossBarHidingEvent #313

Open
SakuraPuare opened this issue Dec 29, 2024 · 0 comments

Comments

@SakuraPuare
Copy link

On the other language, the boss event of ender dragon and wither has differant name compare to english name. However, due to the hard coding on the name, the Boss bar hiding not work.

For example, in Chinese

image

In english
image

if (event.getBossEvent().getName().getString().contains("Wither"))
event.setCanceled(true);
}
if (nbt.getBoolean("MGU_DragonMuffle")) {
if (event.getBossEvent().getName().getString().contains("Dragon"))

this also affect all version

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

No branches or pull requests

1 participant