@@ -57,28 +57,28 @@ public GuiScreen editDisplayGuiScreen(GuiScreen guiScreenIn) {
57
57
58
58
@ Inject (method = "runGameLoop" , at = @ At (value = "INVOKE" , target = "Lnet/minecraft/util/Timer;updateTimer()V" , shift = At .Shift .BEFORE ))
59
59
public void runGameLoopStart (CallbackInfo ci ) {
60
- Wrapper .getMinecraft ().profiler .startSection ("kbRunGameLoop " );
60
+ Wrapper .getMinecraft ().profiler .startSection ("lambda " );
61
61
LambdaEventBus .INSTANCE .post (new RunGameLoopEvent .Start ());
62
62
Wrapper .getMinecraft ().profiler .endSection ();
63
63
}
64
64
65
65
@ Inject (method = "runGameLoop" , at = @ At (value = "INVOKE" , target = "Lnet/minecraft/profiler/Profiler;endSection()V" , ordinal = 0 , shift = At .Shift .BEFORE ))
66
66
public void runGameLoopTick (CallbackInfo ci ) {
67
- Wrapper .getMinecraft ().profiler .endStartSection ("kbRunGameLoop " );
67
+ Wrapper .getMinecraft ().profiler .endStartSection ("lambda " );
68
68
LambdaEventBus .INSTANCE .post (new RunGameLoopEvent .Tick ());
69
69
Wrapper .getMinecraft ().profiler .endStartSection ("scheduledExecutables" );
70
70
}
71
71
72
72
@ Inject (method = "runGameLoop" , at = @ At (value = "INVOKE" , target = "Lnet/minecraft/profiler/Profiler;startSection(Ljava/lang/String;)V" , ordinal = 2 , shift = At .Shift .BEFORE ))
73
73
public void runGameLoopRender (CallbackInfo ci ) {
74
- Wrapper .getMinecraft ().profiler .startSection ("kbRunGameLoop " );
74
+ Wrapper .getMinecraft ().profiler .startSection ("lambda " );
75
75
LambdaEventBus .INSTANCE .post (new RunGameLoopEvent .Render ());
76
76
Wrapper .getMinecraft ().profiler .endSection ();
77
77
}
78
78
79
79
@ Inject (method = "runGameLoop" , at = @ At (value = "INVOKE" , target = "Lnet/minecraft/client/Minecraft;isFramerateLimitBelowMax()Z" , shift = At .Shift .BEFORE ))
80
80
public void runGameLoopEnd (CallbackInfo ci ) {
81
- Wrapper .getMinecraft ().profiler .startSection ("kbRunGameLoop " );
81
+ Wrapper .getMinecraft ().profiler .startSection ("lambda " );
82
82
LambdaEventBus .INSTANCE .post (new RunGameLoopEvent .End ());
83
83
Wrapper .getMinecraft ().profiler .endSection ();
84
84
}
0 commit comments