From 50229d8c10f85a1e1dbf17835a4944bd49be15a2 Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+chomens@users.noreply.github.com> Date: Sun, 29 Dec 2024 07:52:29 +0700 Subject: [PATCH] refactor: use `minecraft:tellraw` in ChomeNSBotCommandSuggestions when in kaboom --- .../chipmunkmod/modules/ChomeNSBotCommandSuggestions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/land/chipmunk/chipmunkmod/modules/ChomeNSBotCommandSuggestions.java b/src/main/java/land/chipmunk/chipmunkmod/modules/ChomeNSBotCommandSuggestions.java index 3e1461e..4193fd5 100644 --- a/src/main/java/land/chipmunk/chipmunkmod/modules/ChomeNSBotCommandSuggestions.java +++ b/src/main/java/land/chipmunk/chipmunkmod/modules/ChomeNSBotCommandSuggestions.java @@ -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