Skip to content

Commit 7c5ad6d

Browse files
committed
refactor: make jei description respect of mte namespace
1 parent 70bfc8a commit 7c5ad6d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/gregtech/api/metatileentity/multiblock/MultiblockControllerBase.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,8 @@ private List<MultiblockShapeInfo> repetitionDFS(List<MultiblockShapeInfo> pages,
600600

601601
@SideOnly(Side.CLIENT)
602602
public String[] getDescription() {
603-
String key = String.format("gregtech.multiblock.%s.description", metaTileEntityId.getPath());
603+
String key = String.format("%s.multiblock.%s.description", metaTileEntityId.getNamespace(),
604+
metaTileEntityId.getPath());
604605
return I18n.hasKey(key) ? new String[] { I18n.format(key) } : new String[0];
605606
}
606607

0 commit comments

Comments
 (0)