Improve idle auto crafting table tick time, more work still needs to be done. Closes #1374

This commit is contained in:
modmuss50 2017-12-19 23:50:38 +00:00
parent 5be3163eeb
commit 7ab59db7c0
No known key found for this signature in database
GPG key ID: 773D17BE8BF49C82

View file

@ -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;
}
}
}
}