Skip to content

Commit

Permalink
fix portable scanner using the wrong method for getting block tooltip…
Browse files Browse the repository at this point in the history
…s, which broke it for cable/material blocks
  • Loading branch information
screret committed Oct 1, 2024
1 parent 1e6a6b0 commit 8435c54
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ else if (machine instanceof IDataInfoProvider)
list.add(Component.translatable("behavior.portable_scanner.divider"));
list.addAll(dataInfoProvider.getDataInfo(mode));
} else {
list.add(Component.translatable(state.getBlock().getDescriptionId()).withStyle(ChatFormatting.BLUE));
list.add(state.getBlock().getName().withStyle(ChatFormatting.BLUE));
}

// Environmental information
Expand Down

0 comments on commit 8435c54

Please sign in to comment.