remove these logging messages

This commit is contained in:
c0de 2023-03-21 21:13:45 -05:00
parent c411b3712c
commit e0caeec2fc

View File

@ -20,7 +20,6 @@ public class Fullbright extends Module {
this.toggleKey(); this.toggleKey();
if (this.isState()) { if (this.isState()) {
c0deFoxModClient.LOGGER.warn("Active State");
update(client, c0deFoxMod.config.getConfig().FULLBRIGHT_GAMMA); update(client, c0deFoxMod.config.getConfig().FULLBRIGHT_GAMMA);
return; return;
} }
@ -29,13 +28,9 @@ public class Fullbright extends Module {
} }
private void update(MinecraftClient client, double value) { private void update(MinecraftClient client, double value) {
c0deFoxModClient.LOGGER.warn(String.valueOf(value));
if (client == null) return; if (client == null) return;
if (client.options.getGamma().getValue() == value) return; if (client.options.getGamma().getValue() == value) return;
c0deFoxModClient.LOGGER.warn("changing gamma");
client.options.getGamma().setValue(value); client.options.getGamma().setValue(value);
if (client.player != null) client.player.sendMessage(Text.of(String.valueOf(value)), true); if (client.player != null) client.player.sendMessage(Text.of(String.valueOf(value)), true);