Fix exoflames trying to smelt unsmeltables after a smeltable was put in

This commit is contained in:
Hubry committed 2020-02-06 18:51:32 +01:00
1 parent e96550208b
commit bbb472c3a8
1 file changed
+2 -1
@@ -91,7 +91,8 @@ public class ExoflameFurnaceHandler {
this.recipeType = ExoflameFurnaceHandler.getRecipeType(furnace);
}
if (currentRecipe != null) { // This is already more caching than Mojang does
if(ExoflameFurnaceHandler.canSmelt(furnace, currentRecipe)) {
if(currentRecipe.matches(furnace, furnace.getWorld())
&& ExoflameFurnaceHandler.canSmelt(furnace, currentRecipe)) {
return true;
}
}