Improve idle auto crafting table tick time, more work still needs to be done. Closes #1374
This commit is contained in:
parent
5be3163eeb
commit
7ab59db7c0
1 changed files with 5 additions and 3 deletions
|
@ -89,9 +89,11 @@ public class TileAutoCraftingTable extends TilePowerAcceptor implements IContain
|
|||
public IRecipe getIRecipe() {
|
||||
if (customRecipe) {
|
||||
InventoryCrafting crafting = getCraftingInventory();
|
||||
for (IRecipe testRecipe : CraftingManager.REGISTRY) {
|
||||
if (testRecipe.matches(crafting, world)) {
|
||||
return testRecipe;
|
||||
if(!crafting.isEmpty()){
|
||||
for (IRecipe testRecipe : CraftingManager.REGISTRY) {
|
||||
if (testRecipe.matches(crafting, world)) {
|
||||
return testRecipe;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue