This commit is contained in:
TheBrokenRail 2022-04-28 20:54:00 -04:00
parent be7e44fd3c
commit 8a83702c3c
4 changed files with 7 additions and 3 deletions

View File

@ -1 +1 @@
2.3.6 2.3.7

View File

@ -1,5 +1,8 @@
# Changelog # Changelog
**2.3.7**
* Don't Append Hyphens To New World Name, Only Folder Names
**2.3.6** **2.3.6**
* Fix `Invert Y-axis` Option Name * Fix `Invert Y-axis` Option Name
* Improve Touch GUI Inventory In Non-Touch GUI * Improve Touch GUI Inventory In Non-Touch GUI

Binary file not shown.

Before

Width:  |  Height:  |  Size: 153 KiB

After

Width:  |  Height:  |  Size: 153 KiB

View File

@ -219,7 +219,7 @@ static unsigned char *get_minecraft_from_screen(unsigned char *screen) {
} }
// Create World // Create World
static void create_world(unsigned char *host_screen, std::string world_name) { static void create_world(unsigned char *host_screen, std::string folder_name) {
// Get Minecraft // Get Minecraft
unsigned char *minecraft = get_minecraft_from_screen(host_screen); unsigned char *minecraft = get_minecraft_from_screen(host_screen);
@ -229,7 +229,8 @@ static void create_world(unsigned char *host_screen, std::string world_name) {
settings.seed = create_world_state.seed; settings.seed = create_world_state.seed;
// Create World // Create World
(*Minecraft_selectLevel)(minecraft, world_name, world_name, settings); std::string world_name = (char *) create_world_state.name;
(*Minecraft_selectLevel)(minecraft, folder_name, world_name, settings);
// Multiplayer // Multiplayer
(*Minecraft_hostMultiplayer)(minecraft, 19132); (*Minecraft_hostMultiplayer)(minecraft, 19132);