Skip to content

Commit

Permalink
Update SmelteryDataProvider.java
Browse files Browse the repository at this point in the history
  • Loading branch information
TheVikingWarrior committed Oct 21, 2014
1 parent 8c5f271 commit 742f534
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -3,6 +3,7 @@
import java.util.List;
import mcp.mobius.waila.api.*;
import net.minecraft.item.ItemStack;
import net.minecraft.util.StatCollector;
import net.minecraftforge.fluids.FluidStack;
import tconstruct.smeltery.logic.SmelteryLogic;

Expand Down Expand Up @@ -32,7 +33,7 @@ public List<String> getWailaBody (ItemStack itemStack, List<String> currenttip,
List<FluidStack> fls = te.moltenMetal;
if (fls.size() <= 0)
{
currenttip.add(SpecialChars.ITALIC + "Empty");
currenttip.add(SpecialChars.ITALIC + StatCollector.translateToLocal("tconstruct.waila.empty"));
}
else
{
Expand All @@ -45,7 +46,7 @@ public List<String> getWailaBody (ItemStack itemStack, List<String> currenttip,
}
else
{
currenttip.add(SpecialChars.ITALIC + "Invalid structure");
currenttip.add(SpecialChars.ITALIC + StatCollector.translateToLocal("tconstruct.waila.invalidstructure"));
}
}

Expand Down

0 comments on commit 742f534

Please sign in to comment.