Skip to content

Commit

Permalink
Merge pull request #86 from Fix3dll/1.19.x
Browse files Browse the repository at this point in the history
Update PriceInfoTooltip.java
  • Loading branch information
KonaeAkira authored Sep 5, 2022
2 parents 22b5ae6 + 0888001 commit 04ca523
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand All @@ -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)) {
Expand Down

0 comments on commit 04ca523

Please sign in to comment.