mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-21 20:52:20 +00:00
Fixed composite lenses not being localized.
This commit is contained in:
1 parent
2e60078f1e
commit
ae483fdcbb
1 file changed
+1
-1
@@ -133,7 +133,7 @@ public class ItemLens extends ItemMod implements ILens {
|
||||
|
||||
|
||||
public String getItemShortTermName(ItemStack stack) {
|
||||
return StatCollector.translateToLocal(stack.getUnlocalizedName() + ".short");
|
||||
return StatCollector.translateToLocal(stack.getUnlocalizedName().replaceAll("item.", "item.botania:") + ".short");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user