mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-24 05:44:27 +00:00
Fixed some naming - factories now display their complete names
This commit is contained in:
1 parent
8344ed25f7
commit
2d727b56ca
9 files changed
+77
-48
No files matched your search
@@ -2,6 +2,7 @@ package mekanism.common;
|
||||
|
||||
import mekanism.api.EnumColor;
|
||||
import mekanism.common.multipart.TransmitterType;
|
||||
import mekanism.common.util.MekanismUtils;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
|
||||
/**
|
||||
@@ -27,6 +28,11 @@ public final class Tier
|
||||
return name;
|
||||
}
|
||||
|
||||
public String getLocalizedName()
|
||||
{
|
||||
return MekanismUtils.localize("tier." + getName());
|
||||
}
|
||||
|
||||
public EnumColor getColor()
|
||||
{
|
||||
return color;
|
||||
|
||||
Reference in new issue
Block a user