From d048d92da44b832438f62df062a8e7d817a665cb Mon Sep 17 00:00:00 2001 From: DarkGuardsman Date: Fri, 6 Sep 2013 00:47:28 -0400 Subject: [PATCH] Worked on lang file a bit --- resources/assets/dark/languages/en_US.properties | 14 ++++++++++++++ src/dark/core/common/debug/BlockDebug.java | 5 ++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/resources/assets/dark/languages/en_US.properties b/resources/assets/dark/languages/en_US.properties index 42c8086ba..35f9868d6 100644 --- a/resources/assets/dark/languages/en_US.properties +++ b/resources/assets/dark/languages/en_US.properties @@ -107,3 +107,17 @@ tile.dark\:TinOre.name = Tin Ore tile.dark\:LeadOre.name = Lead Ore tile.dark\:AluminumOre.name = Bauxite Stone tile.dark\:SilverOre.name = Silver Ore + +# Items +item.BronzeTube.name=Bronze Tube +item.IronTube.name=Iron Tube +item.ObbyTube.name=Obby Tube +item.NetherTube.name=Nether Tube +item.LeatherSeal.name=Leather Seal +item.SlimeSeal.name=Slime Seal +item.UnfinishedTank.name=Unfinished Tank +item.ValvePart.name=Valve + +item.DMTools.0.name=Pipe Gauge +item.DMTools.1.name=MultiMeter + diff --git a/src/dark/core/common/debug/BlockDebug.java b/src/dark/core/common/debug/BlockDebug.java index 373db4140..1e60ec0f5 100644 --- a/src/dark/core/common/debug/BlockDebug.java +++ b/src/dark/core/common/debug/BlockDebug.java @@ -35,7 +35,10 @@ public class BlockDebug extends BlockMachine implements IExtraObjectInfo super.registerIcons(iconReg); for (DebugBlocks block : DebugBlocks.values()) { - block.icon = iconReg.registerIcon(DarkMain.getInstance().PREFIX + block.getTextureName()); + if (block.enabled) + { + block.icon = iconReg.registerIcon(DarkMain.getInstance().PREFIX + block.getTextureName()); + } } }