remove these logging messages

This commit is contained in:
c0de 2023-03-21 21:13:45 -05:00
parent c411b3712c
commit e0caeec2fc
1 changed files with 0 additions and 5 deletions

View File

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