From 53dc0957fe466781d245a2d03e4326f19d2bcd04 Mon Sep 17 00:00:00 2001 From: Calclavia Date: Tue, 25 Feb 2014 08:24:59 +0800 Subject: [PATCH] Fixed #286 - Resource Generator not disable config not working --- .../java/resonantinduction/core/resource/ResourceGenerator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/resonantinduction/core/resource/ResourceGenerator.java b/src/main/java/resonantinduction/core/resource/ResourceGenerator.java index 9acab27d..607138f0 100644 --- a/src/main/java/resonantinduction/core/resource/ResourceGenerator.java +++ b/src/main/java/resonantinduction/core/resource/ResourceGenerator.java @@ -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);