mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
Check for material existence in Casting-IMC
This commit is contained in:
1 parent
c89e0237c5
commit
774239bc48
1 file changed
+6
@@ -171,6 +171,12 @@ public final class IMCHandler {
|
||||
continue;
|
||||
}
|
||||
|
||||
if(TConstructRegistry.getMaterial(matID) == null)
|
||||
{
|
||||
FMLLog.bigWarning("Casting IMC: Unknown Material ID " + matID);
|
||||
continue;
|
||||
}
|
||||
|
||||
// we add the toolpart to all smeltery recipies that use iron and create a toolpart
|
||||
List<CastingRecipe> newRecipies = new LinkedList<CastingRecipe>();
|
||||
for(CastingRecipe recipe : TConstructRegistry.getTableCasting().getCastingRecipes())
|
||||
|
||||
Reference in new issue
Block a user