This commit is contained in:
Chayapak 2023-10-15 16:01:25 +07:00
parent 480173f1a2
commit 5b403dc9ca

View file

@ -68,7 +68,7 @@ public class BotBossBar extends BossBar {
bot.core.run("minecraft:bossbar set " + id + " name " + serialized); bot.core.run("minecraft:bossbar set " + id + " name " + serialized);
if (!bot.core.hasRateLimit()) bot.core.run("minecraft:execute as @e[type=minecraft:text_display,tag=" + bot.config.bossBarNamespace + "_" + onlyName + "] run data modify entity @s text set value '" + serialized.replace("\\", "\\\\" + "'").replace("'", "\\'") + "'"); if (!bot.core.hasRateLimit()) bot.core.run("minecraft:execute as @e[type=minecraft:text_display,tag=" + bot.config.bossBarNamespace + "_" + onlyName + "] run data modify entity @s text set value '" + serialized.replace("\\", "\\\\").replace("'", "\\'") + "'");
} }
public BossBarColor color(BossBarColor color) { public BossBarColor color(BossBarColor color) {