mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-24 22:14:32 +00:00
21 lines
956 B
Diff
21 lines
956 B
Diff
--- ../src_base/minecraft/net/minecraft/client/gui/GuiCreateWorld.java
|
|
+++ ../src_work/minecraft/net/minecraft/client/gui/GuiCreateWorld.java
|
|
@@ -376,7 +376,7 @@
|
|
}
|
|
else if (par1GuiButton.id == 8)
|
|
{
|
|
- this.mc.displayGuiScreen(new GuiCreateFlatWorld(this, this.generatorOptionsToUse));
|
|
+ WorldType.worldTypes[this.worldTypeId].onCustomizeButton(this.mc, this);
|
|
}
|
|
}
|
|
}
|
|
@@ -394,7 +394,7 @@
|
|
this.buttonBonusItems.drawButton = this.moreOptions;
|
|
this.buttonWorldType.drawButton = this.moreOptions;
|
|
this.buttonAllowCommands.drawButton = this.moreOptions;
|
|
- this.buttonCustomize.drawButton = this.moreOptions && WorldType.worldTypes[this.worldTypeId] == WorldType.FLAT;
|
|
+ this.buttonCustomize.drawButton = this.moreOptions && (WorldType.worldTypes[this.worldTypeId].isCustomizable());
|
|
|
|
if (this.moreOptions)
|
|
{
|