Fixed some tooltips, Hohlraum now properly accepts D-T fuel, added Hohlraum recipe, added lithium to EIM recipes

This commit is contained in:
Aidan C. Brady committed 2015-03-06 07:50:09 -05:00
1 parent c1fc1c7cfb
commit 35518ad01f
9 files changed
+69 -60

No files matched your search

@@ -136,17 +136,7 @@ public class ItemJetpack extends ItemArmor implements IGasItem, ISpecialArmor
@Override
public GasStack removeGas(ItemStack itemstack, int amount)
{
if(getGas(itemstack) == null)
{
return null;
}
Gas type = getGas(itemstack).getGas();
int gasToUse = Math.min(getStored(itemstack), Math.min(getRate(itemstack), amount));
setGas(itemstack, new GasStack(type, getStored(itemstack)-gasToUse));
return new GasStack(type, gasToUse);
return null;
}
public int getStored(ItemStack itemstack)