Skip to content

Commit f36692b

Browse files
committed
fix display name
1 parent 58df346 commit f36692b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/gregtech/common/metatileentities/storage/MetaTileEntityQuantumChest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -313,9 +313,9 @@ public void writeItemStackData(NBTTagCompound itemStack) {
313313
@Override
314314
protected void createWidgets(ModularPanel mainPanel, PanelSyncManager syncManager) {
315315
mainPanel.child(createQuantumDisplay("gregtech.machine.quantum_chest.items_stored",
316-
() -> IKey.lang(virtualItemStack.getDisplayName()).get(),
317-
textWidget -> !virtualItemStack.isEmpty(),
318-
() -> TextFormattingUtil.formatNumbers(itemsStoredInside)))
316+
() -> IKey.lang(virtualItemStack.getTranslationKey()).get(),
317+
textWidget -> !virtualItemStack.isEmpty(),
318+
() -> TextFormattingUtil.formatNumbers(itemsStoredInside)))
319319
.child(new QuantumItemRendererWidget(() -> virtualItemStack)
320320
.onLock(() -> lockedStack, this::setLocked)
321321
.pos(148, 41));

0 commit comments

Comments
 (0)