Fix buttons in replay settings toggling twice
This commit is contained in:
@@ -113,10 +113,6 @@ public class GuiReplaySettings extends GuiScreen {
|
|||||||
this.mc.displayGuiScreen(this.parentGuiScreen);
|
this.mc.displayGuiScreen(this.parentGuiScreen);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(button instanceof GuiToggleButton) {
|
|
||||||
((GuiToggleButton) button).toggle();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user