Skip to content

Commit

Permalink
Update MixinSodiumOptionsGUI.java
Browse files Browse the repository at this point in the history
  • Loading branch information
ferriarnus committed Dec 12, 2023
1 parent 0983e07 commit b17727e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
public class MixinSodiumOptionsGUI {
@Shadow @Final private List<OptionPage> pages;

@Inject(method = "<init>", at = @At(value = "INVOKE", target = "Ljava/util/List;add(Ljava/lang/Object;)Z", ordinal = 3, shift = At.Shift.AFTER))
@Inject(method = "<init>", at = @At("RETURN"))
private void addNvidiumOptions(Screen prevScreen, CallbackInfo ci) {
ConfigGuiBuilder.addNvidiumGui(pages);
}
Expand Down

0 comments on commit b17727e

Please sign in to comment.