Skip to content

Commit

Permalink
Fix chest info not showing gregtechCE item local name when player on …
Browse files Browse the repository at this point in the history
…server.
  • Loading branch information
strubium committed Sep 11, 2024
1 parent de7f191 commit d4e1fbb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ private static void showChestContents(IProbeInfo probeInfo, List<ItemStack> stac
for (ItemStack stackInSlot : stacks) {
horizontal = vertical.horizontal(new LayoutStyle().spacing(10).alignment(ElementAlignment.ALIGN_CENTER));
horizontal.item(stackInSlot, new ItemStyle().width(16).height(16))
.text(INFO + stackInSlot.getDisplayName());
.itemLabel(stackInSlot); //TOPFIX: Chest info doesn't show gregtechCE item local name when player on server.
}
} else {
for (ItemStack stackInSlot : stacks) {
Expand Down

0 comments on commit d4e1fbb

Please sign in to comment.