Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
TexBlock committed Jun 21, 2024
1 parent 5388a2b commit 059c20e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@
@Mixin(MinecraftClient.class)
public class MinecraftClientMixin {
@Inject(method = "setScreen", at = @At("HEAD"))
private void onScreenPre(Screen screen, CallbackInfo ci) {
private void obsidianui_onScreenPre(Screen screen, CallbackInfo ci) {
OpenScreenCallback.PRE.invoker().apply((MinecraftClient) (Object) this, screen);
}

@Inject(method = "setScreen", at = @At("RETURN"))
private void onScreenChange(Screen screen, CallbackInfo ci) {
private void obsidianui_onScreenChange(Screen screen, CallbackInfo ci) {
OpenScreenCallback.POST.invoker().apply((MinecraftClient) (Object) this, screen);
}

@Inject(method = "onResolutionChanged", at = @At("RETURN"))
private void onResolutionChanged(CallbackInfo ci) {
private void obsidianui_onResolutionChanged(CallbackInfo ci) {
ResolutionChangeCallback.EVENT.invoker().apply((MinecraftClient) (Object) this);
}
}

0 comments on commit 059c20e

Please sign in to comment.