Skip to content

Commit e772330

Browse files
committed
Change profiler name
1 parent a6d2038 commit e772330

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/com/lambda/client/mixin/client/MixinMinecraft.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,28 +57,28 @@ public GuiScreen editDisplayGuiScreen(GuiScreen guiScreenIn) {
5757

5858
@Inject(method = "runGameLoop", at = @At(value = "INVOKE", target = "Lnet/minecraft/util/Timer;updateTimer()V", shift = At.Shift.BEFORE))
5959
public void runGameLoopStart(CallbackInfo ci) {
60-
Wrapper.getMinecraft().profiler.startSection("kbRunGameLoop");
60+
Wrapper.getMinecraft().profiler.startSection("lambda");
6161
LambdaEventBus.INSTANCE.post(new RunGameLoopEvent.Start());
6262
Wrapper.getMinecraft().profiler.endSection();
6363
}
6464

6565
@Inject(method = "runGameLoop", at = @At(value = "INVOKE", target = "Lnet/minecraft/profiler/Profiler;endSection()V", ordinal = 0, shift = At.Shift.BEFORE))
6666
public void runGameLoopTick(CallbackInfo ci) {
67-
Wrapper.getMinecraft().profiler.endStartSection("kbRunGameLoop");
67+
Wrapper.getMinecraft().profiler.endStartSection("lambda");
6868
LambdaEventBus.INSTANCE.post(new RunGameLoopEvent.Tick());
6969
Wrapper.getMinecraft().profiler.endStartSection("scheduledExecutables");
7070
}
7171

7272
@Inject(method = "runGameLoop", at = @At(value = "INVOKE", target = "Lnet/minecraft/profiler/Profiler;startSection(Ljava/lang/String;)V", ordinal = 2, shift = At.Shift.BEFORE))
7373
public void runGameLoopRender(CallbackInfo ci) {
74-
Wrapper.getMinecraft().profiler.startSection("kbRunGameLoop");
74+
Wrapper.getMinecraft().profiler.startSection("lambda");
7575
LambdaEventBus.INSTANCE.post(new RunGameLoopEvent.Render());
7676
Wrapper.getMinecraft().profiler.endSection();
7777
}
7878

7979
@Inject(method = "runGameLoop", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/Minecraft;isFramerateLimitBelowMax()Z", shift = At.Shift.BEFORE))
8080
public void runGameLoopEnd(CallbackInfo ci) {
81-
Wrapper.getMinecraft().profiler.startSection("kbRunGameLoop");
81+
Wrapper.getMinecraft().profiler.startSection("lambda");
8282
LambdaEventBus.INSTANCE.post(new RunGameLoopEvent.End());
8383
Wrapper.getMinecraft().profiler.endSection();
8484
}

0 commit comments

Comments
 (0)