mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-22 05:02:39 +00:00
Fix most outstanding bugs
This commit is contained in:
1 parent
687a29e221
commit
6192f25aec
60 files changed
+2970
-1407
No files matched your search
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user