refactor: use minecraft:tellraw in ChomeNSBotCommandSuggestions when in kaboom

This commit is contained in:
Chayapak Supasakul 2024-12-29 07:52:29 +07:00
parent 422b67597f
commit 50229d8c10
Signed by: ChomeNS
SSH key fingerprint: SHA256:0YoxhdyXsgbc0nfeB2N6FYE60mxMU7DS4uCUMaw2mvA

View file

@ -48,7 +48,7 @@ public class ChomeNSBotCommandSuggestions extends Listener {
final String serialized = GsonComponentSerializer.gson().serialize(component);
CommandCore.INSTANCE.run("tellraw @a[team=chomens_bot] " + serialized);
CommandCore.INSTANCE.run((KaboomCheck.INSTANCE.isKaboom ? "minecraft:tellraw " : "tellraw ") + "@a[team=chomens_bot] " + serialized);
}
@Override