Skip to content

Commit

Permalink
Update SearedTankDataProvider.java
Browse files Browse the repository at this point in the history
  • Loading branch information
TheVikingWarrior committed Oct 21, 2014
1 parent ea6ed88 commit 8c5f271
Showing 1 changed file with 4 additions and 3 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.LavaTankLogic;

Expand Down Expand Up @@ -30,12 +31,12 @@ public List<String> getWailaBody (ItemStack itemStack, List<String> currenttip,
if (te.containsFluid())
{
FluidStack fs = te.tank.getFluid();
currenttip.add("Liquid: " + WailaRegistrar.fluidNameHelper(fs));
currenttip.add("Amount: " + fs.amount + "/" + te.tank.getCapacity());
currenttip.add(StatCollector.translateToLocal("tconstruct.waila.liquidtag") + WailaRegistrar.fluidNameHelper(fs));
currenttip.add(StatCollector.translateToLocal("tconstruct.waila.amounttag") + fs.amount + "/" + te.tank.getCapacity());
}
else
{
currenttip.add(SpecialChars.ITALIC + "Empty");
currenttip.add(SpecialChars.ITALIC + StatCollector.translateToLocal("tconstruct.waila.empty"));
}
}
return currenttip;
Expand Down

0 comments on commit 8c5f271

Please sign in to comment.