diff --git a/src/main/java/me/xmrvizzy/skyblocker/skyblock/item/PriceInfoTooltip.java b/src/main/java/me/xmrvizzy/skyblocker/skyblock/item/PriceInfoTooltip.java index 21db3c2e28..9c681cb1c5 100644 --- a/src/main/java/me/xmrvizzy/skyblocker/skyblock/item/PriceInfoTooltip.java +++ b/src/main/java/me/xmrvizzy/skyblocker/skyblock/item/PriceInfoTooltip.java @@ -93,7 +93,7 @@ public static void onInjectTooltip(ItemStack stack, TooltipContext context, List if (SkyblockerConfig.get().general.itemTooltip.enableLowestBIN && !bazaarOpened && !bazaarExist) { if (lowestPricesJson == null) { if (!nullMsgSend) { - client.player.sendMessage(Text.literal("skyblocker.itemTooltip.nullMessage"), false); + client.player.sendMessage(Text.translatable("skyblocker.itemTooltip.nullMessage"), false); nullMsgSend = true; } } else if (lowestPricesJson.has(name)) { @@ -106,7 +106,7 @@ public static void onInjectTooltip(ItemStack stack, TooltipContext context, List if (SkyblockerConfig.get().general.itemTooltip.enableAvgBIN) { if (threeDayAvgPricesJson == null || oneDayAvgPricesJson == null) { if (!nullMsgSend) { - client.player.sendMessage(Text.literal("skyblocker.itemTooltip.nullMessage"), false); + client.player.sendMessage(Text.translatable("skyblocker.itemTooltip.nullMessage"), false); nullMsgSend = true; } } else if (threeDayAvgPricesJson.has(name) || oneDayAvgPricesJson.has(name)) {