mirror of
https://github.com/TeamMidnightDust/MidnightControls.git
synced 2025-12-14 07:35:10 +01:00
Finalize fix for #296
This commit is contained in:
@@ -40,7 +40,7 @@ public abstract class GameOptionsScreenMixin extends Screen {
|
|||||||
super(title);
|
super(title);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Inject(method = "initTabNavigation", at = @At("HEAD"))
|
@Inject(method = "initTabNavigation", at = @At("TAIL"))
|
||||||
public void addMidnightButton(CallbackInfo ci) {
|
public void addMidnightButton(CallbackInfo ci) {
|
||||||
if (this.getClass().toString().equals(ControlsOptionsScreen.class.toString())) {
|
if (this.getClass().toString().equals(ControlsOptionsScreen.class.toString())) {
|
||||||
this.midnightcontrols$setupButton();
|
this.midnightcontrols$setupButton();
|
||||||
|
|||||||
Reference in New Issue
Block a user