Finalize fix for #296

This commit is contained in:
Martin Prokoph
2024-07-21 17:31:39 +02:00
parent 9bcc63fcef
commit 78df229dd2

View File

@@ -40,7 +40,7 @@ public abstract class GameOptionsScreenMixin extends Screen {
super(title);
}
@Inject(method = "initTabNavigation", at = @At("HEAD"))
@Inject(method = "initTabNavigation", at = @At("TAIL"))
public void addMidnightButton(CallbackInfo ci) {
if (this.getClass().toString().equals(ControlsOptionsScreen.class.toString())) {
this.midnightcontrols$setupButton();