Fixes NEI recipe handler
.get() is used as it is safe to assert facades are present at this point. If not there should be an exception being thrown.
This commit is contained in:
@@ -53,7 +53,7 @@ public class NEIFacadeRecipeHandler extends TemplateRecipeHandler
|
||||
{
|
||||
final IDefinitions definitions = AEApi.instance().definitions();
|
||||
|
||||
this.facade = (ItemFacade) definitions.items().facade();
|
||||
this.facade = (ItemFacade) definitions.items().facade().maybeItem().get();
|
||||
this.anchorDefinition = definitions.parts().cableAnchor();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user