Fixed #286 - Resource Generator not disable config not working
This commit is contained in:
parent
c122eaec05
commit
53dc0957fe
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ public class ResourceGenerator
|
|||
boolean allowMaterial = Settings.CONFIGURATION.get("Resource_Generator", "Enable " + oreDictName, true).getBoolean(true);
|
||||
Settings.CONFIGURATION.save();
|
||||
|
||||
if (!allowMaterial && OreDetectionBlackList.isIngotBlackListed("ingot" + oreDictName) || OreDetectionBlackList.isOreBlackListed("ore" + oreDictName))
|
||||
if (!allowMaterial || OreDetectionBlackList.isIngotBlackListed("ingot" + oreDictName) || OreDetectionBlackList.isOreBlackListed("ore" + oreDictName))
|
||||
return;
|
||||
|
||||
materialNames.add(materialName);
|
||||
|
|
Loading…
Add table
Reference in a new issue