diff --git a/patches/minecraft/net/minecraft/client/gui/GuiCreateWorld.java.patch b/patches/minecraft/net/minecraft/client/gui/GuiCreateWorld.java.patch index 988693144..177a79d87 100644 --- a/patches/minecraft/net/minecraft/client/gui/GuiCreateWorld.java.patch +++ b/patches/minecraft/net/minecraft/client/gui/GuiCreateWorld.java.patch @@ -181,7 +181,7 @@ protected void func_73869_a(char p_73869_1_, int p_73869_2_) throws IOException { if (this.field_146333_g.func_146206_l() && !this.field_146344_y) -@@ -453,11 +407,10 @@ +@@ -453,13 +407,37 @@ this.func_146284_a(this.field_146292_n.get(0)); } @@ -193,8 +193,35 @@ - @Override protected void func_73864_a(int p_73864_1_, int p_73864_2_, int p_73864_3_) throws IOException { ++ if (this.field_146320_D.func_146116_c(this.field_146297_k, p_73864_1_, p_73864_2_)) { ++ if (p_73864_3_ == 1) { ++ --this.field_146331_K; ++ ++ if (this.field_146331_K < 0) ++ { ++ this.field_146331_K = WorldType.field_77139_a.length - 1; ++ } ++ ++ while (!this.func_175299_g()) ++ { ++ --this.field_146331_K; ++ ++ if (this.field_146331_K < 0) ++ { ++ this.field_146331_K = WorldType.field_77139_a.length - 1; ++ } ++ } ++ ++ this.field_146334_a = ""; ++ this.func_146319_h(); ++ this.func_146316_a(this.field_146344_y); ++ } ++ } ++ super.func_73864_a(p_73864_1_, p_73864_2_, p_73864_3_); -@@ -472,7 +425,6 @@ + + if (this.field_146344_y) +@@ -472,7 +450,6 @@ } } @@ -202,7 +229,7 @@ public void func_73863_a(int p_73863_1_, int p_73863_2_, float p_73863_3_) { this.func_146276_q_(); -@@ -497,22 +449,13 @@ +@@ -497,22 +474,13 @@ if (WorldType.field_77139_a[this.field_146331_K].func_151357_h()) {