This commit is contained in:
eaglercraft 2024-03-06 19:01:47 -08:00
commit ae5f006afe
6 changed files with 29 additions and 11 deletions

View file

@ -140,6 +140,7 @@ public class GuiOptions extends GuiScreen implements GuiYesNoCallback {
this.mc.displayGuiScreen(this);
if (i == 109 && flag && this.mc.theWorld != null) {
this.mc.theWorld.getWorldInfo().setDifficultyLocked(true);
SingleplayerServerController.setDifficulty(-1);
this.field_175356_r.func_175229_b(true);
this.field_175356_r.enabled = false;
this.field_175357_i.enabled = false;