Skip to content

Commit 927d17a

Browse files
authored
[Refactor] Make jei description respect of mte namespace (GregTechCEu#2890)
1 parent 3aa6f76 commit 927d17a

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)