diff --git a/src/main/java/net/silentclient/client/mixin/mixins/MinecraftMixin.java b/src/main/java/net/silentclient/client/mixin/mixins/MinecraftMixin.java index e038319..6faf279 100644 --- a/src/main/java/net/silentclient/client/mixin/mixins/MinecraftMixin.java +++ b/src/main/java/net/silentclient/client/mixin/mixins/MinecraftMixin.java @@ -9,6 +9,7 @@ import net.minecraft.util.ResourceLocation; import net.silentclient.client.Client; import net.silentclient.client.event.impl.ClientTickEvent; import net.silentclient.client.gui.util.BackgroundPanorama; +import org.apache.logging.log4j.Logger; import org.lwjgl.LWJGLException; import org.lwjgl.opengl.Display; import org.lwjgl.opengl.GL11; @@ -42,6 +43,11 @@ public abstract class MinecraftMixin { Display.setTitle("Silent Client " + Client.getInstance().getVersion() + " (1.8.9)"); } + @Redirect(method = "", at = @At(value = "INVOKE", target = "Lorg/apache/logging/log4j/Logger;info(Ljava/lang/String;)V", ordinal = 1)) + public void cancelLoggingToken(Logger instance, String s) { + + } + @Inject(method = "runTick", at = @At(value = "INVOKE", target = "Lnet/minecraft/profiler/Profiler;endSection()V", shift = At.Shift.BEFORE)) public void tickEvent(CallbackInfo callbackInfo) { new ClientTickEvent().call(); diff --git a/src/main/resources/build_data.json b/src/main/resources/build_data.json index da45690..39bd368 100644 --- a/src/main/resources/build_data.json +++ b/src/main/resources/build_data.json @@ -1,4 +1,4 @@ { "commit": "unknown", - "branch": "debug-c" + "branch": "debug" } \ No newline at end of file