mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 21:09:45 +00:00
Merge branch 'development' into v8
Conflicts: src/main/java/mekanism/common/multipart/PartLogisticalTransporter.java src/main/java/mekanism/generators/common/block/BlockGenerator.java
This commit is contained in:
commit
d8e12ca8d2
15 files changed
+288
-47
No files matched your search
@@ -1,5 +1,6 @@
|
||||
package mekanism.generators.client;
|
||||
|
||||
import mekanism.common.Mekanism;
|
||||
import mekanism.generators.client.gui.GuiBioGenerator;
|
||||
import mekanism.generators.client.gui.GuiGasGenerator;
|
||||
import mekanism.generators.client.gui.GuiHeatGenerator;
|
||||
@@ -53,6 +54,18 @@ public class GeneratorsClientProxy extends GeneratorsCommonProxy
|
||||
ClientRegistry.registerTileEntity(TileEntityReactorController.class, "ReactorController", new RenderReactor());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void loadConfiguration()
|
||||
{
|
||||
super.loadConfiguration();
|
||||
|
||||
MekanismGeneratorsClient.enableAmbientLighting = Mekanism.configuration.get("generation", "EnableAmbientLighting", true).getBoolean(true);
|
||||
MekanismGeneratorsClient.ambientLightingLevel = Mekanism.configuration.get("generation", "AmbientLightingLevel", 15, "", 0, 15).getInt(15);
|
||||
|
||||
if(Mekanism.configuration.hasChanged())
|
||||
Mekanism.configuration.save();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void registerRenderInformation()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user