Skip to content

Commit

Permalink
effective$dudeStopFuckingSpammingMyConsoleWithDebugShitICantFixItsRea…
Browse files Browse the repository at this point in the history
…llyNotMyFault
  • Loading branch information
doctor4t committed Jan 4, 2025
1 parent 1c92add commit 0613bb2
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package org.ladysnake.effective.core.mixin;

import net.minecraft.client.gl.GlDebug;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;

@Mixin(GlDebug.class)
public class GlDebugMixin {
@Inject(method = "info", at = @At(value = "HEAD"), cancellable = true)
private static void effective$dudeStopFuckingSpammingMyConsoleWithDebugShitICantFixItsReallyNotMyFault(int source, int type, int id, int severity, int messageLength, long message, long l, CallbackInfo ci) {
ci.cancel();
}
}

0 comments on commit 0613bb2

Please sign in to comment.