Moved Recipe Registration to Init, Added Recipe Baking.
This commit is contained in:
@@ -69,7 +69,7 @@ public class Shaped implements ICraftHandler, IWebsiteSeralizer
|
||||
{
|
||||
row = row + first;
|
||||
args.add( first );
|
||||
args.add( inputs.get( y ).get( x ).getItemStackSet() );
|
||||
args.add( inputs.get( y ).get( x ) );
|
||||
|
||||
first++;
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@ public class Shapeless implements ICraftHandler, IWebsiteSeralizer
|
||||
{
|
||||
List<Object> args = new ArrayList<Object>();
|
||||
for (IIngredient i : inputs)
|
||||
args.add( i.getItemStackSet() );
|
||||
args.add( i );
|
||||
|
||||
ItemStack outIS = output.getItemStack();
|
||||
|
||||
@@ -54,7 +54,7 @@ public class Shapeless implements ICraftHandler, IWebsiteSeralizer
|
||||
catch (Throwable e)
|
||||
{
|
||||
AELog.error( e );
|
||||
throw new RegistrationError( "Erro while adding shapeless recipe." );
|
||||
throw new RegistrationError( "Error while adding shapeless recipe." );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user