Gigantic warning cleanup
This commit is contained in:
@@ -13,8 +13,6 @@ public class LightingHandler {
|
||||
|
||||
private static float initialGamma = 0;
|
||||
|
||||
private static boolean enabled = false;
|
||||
|
||||
public static void setLighting(boolean lighting) {
|
||||
|
||||
float gamma = mc.gameSettings.getOptionFloatValue(Options.GAMMA);
|
||||
@@ -25,8 +23,6 @@ public class LightingHandler {
|
||||
if(lighting) mc.gameSettings.setOptionFloatValue(Options.GAMMA, AMBIENT_GAMMA);
|
||||
else mc.gameSettings.setOptionFloatValue(Options.GAMMA, initialGamma);
|
||||
|
||||
enabled = lighting;
|
||||
|
||||
if(ReplayMod.replaySender.paused()) {
|
||||
mc.entityRenderer.lightmapUpdateNeeded = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user