mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 08:01:32 +01:00
Better
This commit is contained in:
parent
071f0239c6
commit
881f793520
@ -9,6 +9,7 @@ import net.minecraft.util.ResourceLocation;
|
|||||||
import net.silentclient.client.Client;
|
import net.silentclient.client.Client;
|
||||||
import net.silentclient.client.event.impl.ClientTickEvent;
|
import net.silentclient.client.event.impl.ClientTickEvent;
|
||||||
import net.silentclient.client.gui.util.BackgroundPanorama;
|
import net.silentclient.client.gui.util.BackgroundPanorama;
|
||||||
|
import org.apache.logging.log4j.Logger;
|
||||||
import org.lwjgl.LWJGLException;
|
import org.lwjgl.LWJGLException;
|
||||||
import org.lwjgl.opengl.Display;
|
import org.lwjgl.opengl.Display;
|
||||||
import org.lwjgl.opengl.GL11;
|
import org.lwjgl.opengl.GL11;
|
||||||
@ -42,6 +43,11 @@ public abstract class MinecraftMixin {
|
|||||||
Display.setTitle("Silent Client " + Client.getInstance().getVersion() + " (1.8.9)");
|
Display.setTitle("Silent Client " + Client.getInstance().getVersion() + " (1.8.9)");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Redirect(method = "<init>", 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))
|
@Inject(method = "runTick", at = @At(value = "INVOKE", target = "Lnet/minecraft/profiler/Profiler;endSection()V", shift = At.Shift.BEFORE))
|
||||||
public void tickEvent(CallbackInfo callbackInfo) {
|
public void tickEvent(CallbackInfo callbackInfo) {
|
||||||
new ClientTickEvent().call();
|
new ClientTickEvent().call();
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"commit": "unknown",
|
"commit": "unknown",
|
||||||
"branch": "debug-c"
|
"branch": "debug"
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user