Skip to content

Commit

Permalink
Fix tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
yuesha-yc committed Jan 2, 2025
1 parent dcd1e9a commit bc3d3a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public static void renderOverlay(ForgeGui gui, GuiGraphics graphics, float parti
boolean addedBlockTempInfo = false;
// block temperature
if (wearingTemperatureProbe && hasBlockTempInfo) {
boolean isNotLit = state.hasProperty(BlockStateProperties.LIT) && state.getValue(BlockStateProperties.LIT);
boolean isNotLit = state.hasProperty(BlockStateProperties.LIT) && !state.getValue(BlockStateProperties.LIT);
boolean requiresLit = blockData.isLit();
List<Component> stats = BlockTempStats.getStats(block, null, mc.player);
if (!stats.isEmpty() && !(requiresLit && isNotLit)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@
"tooltip.frostedheart.holdForDescription": "Hold [%1$s] for Summary",
"tooltip.frostedheart.holdForControls": "Hold [%1$s] for Controls",
"tooltip.frostedheart.holdForTemperature": "Hold [%1$s] for Temperature Info",
"tooltip.frostedheart.holdForNutrition": "Hold [%1%s] for Nutrition Info",
"tooltip.frostedheart.holdForNutrition": "Hold [%1$s] for Nutrition Info",
"tooltip.frostedheart.keyShift": "Shift",
"tooltip.frostedheart.keyCtrl": "Ctrl",
"tooltip.frostedheart.keyS": "S",
Expand Down

0 comments on commit bc3d3a6

Please sign in to comment.