add config option for enabling whitelist for windmills

This commit is contained in:
maggi373 committed 2022-10-19 22:49:54 +02:00
1 parent 2b76cf0bab
commit 91d6c0673c
4 files changed
+8

No files matched your search

@@ -110,6 +110,7 @@ public class GeneratorsCommonProxy implements IGuiProvider
generators.turbineVentGasFlow = Mekanism.configuration.get("generation", "TurbineVentGasFlow", 16000D).getDouble();
generators.turbineDisperserGasFlow = Mekanism.configuration.get("generation", "TurbineDisperserGasFlow", 640D).getDouble();
generators.condenserRate = Mekanism.configuration.get("generation", "TurbineCondenserFlowRate", 32000).getInt();
generators.enableWindmillWhitelist = Mekanism.configuration.get("generation", "EnableWindmillWhitelist", true).getBoolean();
if(Mekanism.configuration.hasChanged())
{