diff options
| author | OnyxDarkKnight <sor1n.iliutza16@gmail.com> | 2015-05-08 18:12:00 +0100 |
|---|---|---|
| committer | OnyxDarkKnight <sor1n.iliutza16@gmail.com> | 2015-05-08 18:12:00 +0100 |
| commit | 9d08d6c58a0622d31494d612d5b401a1fed186df (patch) | |
| tree | 4365f5aef42a61a9279271dd0bf0e6b65ca9640d /src/main/java/darkknight/jewelrycraft/client/gui/GuiTabOresToIngots.java | |
| parent | 2342897a409d08e2431b66191c4a7c4491e5222d (diff) | |
Fixed a few things as well as working towards having the ability to translate everything
Diffstat (limited to 'src/main/java/darkknight/jewelrycraft/client/gui/GuiTabOresToIngots.java')
| -rw-r--r-- | src/main/java/darkknight/jewelrycraft/client/gui/GuiTabOresToIngots.java | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/main/java/darkknight/jewelrycraft/client/gui/GuiTabOresToIngots.java b/src/main/java/darkknight/jewelrycraft/client/gui/GuiTabOresToIngots.java index 074ab64..b7f192d 100644 --- a/src/main/java/darkknight/jewelrycraft/client/gui/GuiTabOresToIngots.java +++ b/src/main/java/darkknight/jewelrycraft/client/gui/GuiTabOresToIngots.java @@ -4,9 +4,11 @@ import java.util.HashMap; import net.minecraft.init.Items; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; +import net.minecraft.util.StatCollector; import org.lwjgl.opengl.GL11; import darkknight.jewelrycraft.block.BlockList; import darkknight.jewelrycraft.util.JewelrycraftUtil; +import darkknight.jewelrycraft.util.Variables; public class GuiTabOresToIngots extends GuiTab { @@ -15,7 +17,12 @@ public class GuiTabOresToIngots extends GuiTab */ public GuiTabOresToIngots(int id) { - super("Ores to ingots", id); + super(id); + } + + public String getName() + { + return StatCollector.translateToLocal("guide." + Variables.MODID + ".tab.oretoingot"); } /** |
