diff --git a/src/main/java/de/hysky/skyblocker/skyblock/events/greatspook/MathTeacherHelper.java b/src/main/java/de/hysky/skyblocker/skyblock/events/greatspook/MathTeacherHelper.java index b25267fccc..59476399e9 100644 --- a/src/main/java/de/hysky/skyblocker/skyblock/events/greatspook/MathTeacherHelper.java +++ b/src/main/java/de/hysky/skyblocker/skyblock/events/greatspook/MathTeacherHelper.java @@ -41,11 +41,11 @@ public static Text onMessage(Text message, boolean overlay) { .append(Text.literal(result) .formatted(Formatting.AQUA)) .append(ScreenTexts.SPACE) - .append(Text.translatable("text.skyblocker.clickToCopy") + .append(Text.translatable("text.skyblocker.clickToSuggest") .formatted(Formatting.GREEN) .styled(style -> - style.withClickEvent(new ClickEvent(ClickEvent.Action.COPY_TO_CLIPBOARD, result)) - .withHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, Constants.PREFIX.get().append(Text.translatable("text.skyblocker.clickToCopy.@Tooltip")))) + style.withClickEvent(new ClickEvent(ClickEvent.Action.SUGGEST_COMMAND, result)) + .withHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, Constants.PREFIX.get().append(Text.translatable("text.skyblocker.clickToSuggest.@Tooltip")))) )); } catch (Exception e) { return message; diff --git a/src/main/resources/assets/skyblocker/lang/en_us.json b/src/main/resources/assets/skyblocker/lang/en_us.json index a7c19836da..ebf5f9a438 100644 --- a/src/main/resources/assets/skyblocker/lang/en_us.json +++ b/src/main/resources/assets/skyblocker/lang/en_us.json @@ -28,8 +28,8 @@ "text.skyblocker.translate": "Translate", "text.skyblocker.modrinth": "Modrinth", "text.skyblocker.discord": "Discord", - "text.skyblocker.clickToCopy": "[Click To Copy]", - "text.skyblocker.clickToCopy.@Tooltip": "Click to copy to clipboard.", + "text.skyblocker.clickToSuggest": "[Click To Suggest In Chat]", + "text.skyblocker.clickToSuggest.@Tooltip": "Click to suggest this in chat.", "skyblocker.skyblockerScreen": "Skyblocker Main Screen",