Small logic fix
This commit is contained in:
parent
2b38d1ca6b
commit
f4a036b1e7
3 changed files with 3 additions and 3 deletions
|
@ -39,7 +39,7 @@ public class FurnaceRecipe {
|
||||||
}
|
}
|
||||||
|
|
||||||
public FurnaceRecipe checkConfig(PathConfig config) {
|
public FurnaceRecipe checkConfig(PathConfig config) {
|
||||||
exist = config.getBoolean("furnace", id.getPath(), true);
|
exist |= config.getBoolean("furnace", id.getPath(), true);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,7 @@ public class GridRecipe {
|
||||||
}
|
}
|
||||||
|
|
||||||
public GridRecipe checkConfig(PathConfig config) {
|
public GridRecipe checkConfig(PathConfig config) {
|
||||||
exist = config.getBoolean("grid", id.getPath(), true);
|
exist |= config.getBoolean("grid", id.getPath(), true);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@ public class SmithingTableRecipe {
|
||||||
private SmithingTableRecipe() {}
|
private SmithingTableRecipe() {}
|
||||||
|
|
||||||
public SmithingTableRecipe checkConfig(PathConfig config) {
|
public SmithingTableRecipe checkConfig(PathConfig config) {
|
||||||
exist = config.getBoolean("smithing", id.getPath(), true);
|
exist |= config.getBoolean("smithing", id.getPath(), true);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue