Small logic fix

This commit is contained in:
paulevsGitch 2021-06-17 20:32:15 +03:00
parent 2b38d1ca6b
commit f4a036b1e7
3 changed files with 3 additions and 3 deletions

View file

@ -39,7 +39,7 @@ public class FurnaceRecipe {
}
public FurnaceRecipe checkConfig(PathConfig config) {
exist = config.getBoolean("furnace", id.getPath(), true);
exist |= config.getBoolean("furnace", id.getPath(), true);
return this;
}

View file

@ -52,7 +52,7 @@ public class GridRecipe {
}
public GridRecipe checkConfig(PathConfig config) {
exist = config.getBoolean("grid", id.getPath(), true);
exist |= config.getBoolean("grid", id.getPath(), true);
return this;
}

View file

@ -40,7 +40,7 @@ public class SmithingTableRecipe {
private SmithingTableRecipe() {}
public SmithingTableRecipe checkConfig(PathConfig config) {
exist = config.getBoolean("smithing", id.getPath(), true);
exist |= config.getBoolean("smithing", id.getPath(), true);
return this;
}