Skip to content

Commit

Permalink
Disable unused mixin, fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
LostLuma committed Dec 28, 2023
1 parent c595144 commit 0a6aafc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ private void onRender(CallbackInfo callbackInfo) {
}
}

/*
/**
* Cancels rendering the world if a it is determined to currently not be visible.
*/
@Inject(at = @At("HEAD"), method = { "renderLevel", "renderItemActivationAnimation" }, cancellable = true)
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/dynamic_fps/impl/mixin/GuiMixin.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

@Mixin(Gui.class)
public class GuiMixin {
/*
/**
* Cancels rendering the GUI if a it is determined to currently not be visible.
*/
@Inject(at = @At("HEAD"), method = "render", cancellable = true)
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/dynamic_fps/impl/mixin/MinecraftMixin.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ private void onInit(CallbackInfo callbackInfo) {
DynamicFPSMod.setWindow(this.window.window);
}

/*
@Inject(method = "setScreen", at = @At("TAIL"))
private void onSetScreen(CallbackInfo callbackInfo) {
DynamicFPSMod.onStatusChanged();
}
*/
}

0 comments on commit 0a6aafc

Please sign in to comment.