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() {
|
public IRecipe getIRecipe() {
|
||||||
if (customRecipe) {
|
if (customRecipe) {
|
||||||
InventoryCrafting crafting = getCraftingInventory();
|
InventoryCrafting crafting = getCraftingInventory();
|
||||||
for (IRecipe testRecipe : CraftingManager.REGISTRY) {
|
if(!crafting.isEmpty()){
|
||||||
if (testRecipe.matches(crafting, world)) {
|
for (IRecipe testRecipe : CraftingManager.REGISTRY) {
|
||||||
return testRecipe;
|
if (testRecipe.matches(crafting, world)) {
|
||||||
|
return testRecipe;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue