fullbright soruce code help
Please help why won't this work?
Code doesn't error, it just won't work properly xD!
Can anbody point me in the right direction?
Code doesn't error, it just won't work properly xD!
Can anbody point me in the right direction?
Code:
public class Brightness extends TestMod
{
public Brightness()
{
super("Brightness", "Brightens the world", Keyboard.KEY_C, 0xFFF8C6, EnumGuiCategory.WORLD);
}
public float fakeGamma = mc.gameSettings.gammaSetting;
private boolean isFading = false;
private static final float FADE_INTERVAL = 1.0F;
public void onUpdate(EntityPlayerSP player) {
if(isEnabled()) {
mc.gameSettings.gammaSetting++;
}else
mc.gameSettings.gammaSetting = 1.0F;
}
}