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:
yueh 2015-03-29 15:51:22 +02:00
parent 67d9a48d75
commit b75e8d5824

View file

@ -53,7 +53,7 @@ public class NEIFacadeRecipeHandler extends TemplateRecipeHandler
{ {
final IDefinitions definitions = AEApi.instance().definitions(); 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(); this.anchorDefinition = definitions.parts().cableAnchor();
} }