Fix most outstanding bugs

This commit is contained in:
mDiyo committed 2013-08-07 19:06:26 -07:00
1 parent 687a29e221
commit 6192f25aec
60 files changed
+2970 -1407

No files matched your search

+6
View File
@@ -479,6 +479,12 @@ public class TEventHandler
@ForgeSubscribe
public void registerOre (OreRegisterEvent evt)
{
String ingot = evt.Name.toLowerCase();
if (ingot.contains("ingot"))
{
TConstruct.tableCasting.addCastingRecipe(new ItemStack(TContent.metalPattern, 1, 0), new FluidStack(TContent.moltenAlubrassFluid, TConstruct.ingotLiquidValue), evt.Ore, false, 50);
TConstruct.tableCasting.addCastingRecipe(new ItemStack(TContent.metalPattern, 1, 0), new FluidStack(TContent.moltenGoldFluid, TConstruct.ingotLiquidValue * 2), evt.Ore, false, 50);
}
if (evt.Name == "battery")
TConstruct.content.modE.batteries.add(evt.Ore);