Move lighting config to general.

Hopefully fixes whatever weird issue was going on before.
This commit is contained in:
Ben Spiers committed 2015-03-19 12:47:36 +00:00
1 parent 7dec274a56
commit d560ea91a8
6 files changed
+8 -16

No files matched your search

@@ -351,10 +351,9 @@ public class BlockMachine extends BlockContainer implements ISpecialBounds, IPer
}
@Override
@SideOnly(Side.CLIENT)
public int getLightValue(IBlockAccess world, int x, int y, int z)
{
if(client.enableAmbientLighting)
if(general.enableAmbientLighting)
{
TileEntity tileEntity = world.getTileEntity(x, y, z);
@@ -362,7 +361,7 @@ public class BlockMachine extends BlockContainer implements ISpecialBounds, IPer
{
if(((IActiveState)tileEntity).getActive() && ((IActiveState)tileEntity).lightUpdate())
{
return client.ambientLightingLevel;
return general.ambientLightingLevel;
}
}
}