2.3.8: Switch Up Mod Loading Order
This commit is contained in:
parent
9449cdf747
commit
7c2d0d5625
@ -1,5 +1,8 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
**2.3.8**
|
||||||
|
* Switch Up Mod Loading Order
|
||||||
|
|
||||||
**2.3.7**
|
**2.3.7**
|
||||||
* Don't Append Hyphens To New World Name, Only Folder Names
|
* Don't Append Hyphens To New World Name, Only Folder Names
|
||||||
|
|
||||||
|
BIN
images/start.png
BIN
images/start.png
Binary file not shown.
Before Width: | Height: | Size: 153 KiB After Width: | Height: | Size: 153 KiB |
@ -291,22 +291,22 @@ void bootstrap(int argc, char *argv[]) {
|
|||||||
PRESERVE_ENVIRONMENTAL_VARIABLE("LD_PRELOAD");
|
PRESERVE_ENVIRONMENTAL_VARIABLE("LD_PRELOAD");
|
||||||
char *new_ld_preload = NULL;
|
char *new_ld_preload = NULL;
|
||||||
|
|
||||||
// Built-In Mods
|
// ~/.minecraft-pi/mods
|
||||||
{
|
{
|
||||||
// Get Mods Folder
|
// Get Mods Folder
|
||||||
char *mods_folder = NULL;
|
char *mods_folder = NULL;
|
||||||
safe_asprintf(&mods_folder, "%s/mods/", binary_directory);
|
safe_asprintf(&mods_folder, "%s" HOME_SUBDIRECTORY_FOR_GAME_DATA "/mods/", getenv("HOME"));
|
||||||
// Load Mods From ./mods
|
// Load Mods From ./mods
|
||||||
load(&new_ld_preload, mods_folder);
|
load(&new_ld_preload, mods_folder);
|
||||||
// Free Mods Folder
|
// Free Mods Folder
|
||||||
free(mods_folder);
|
free(mods_folder);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ~/.minecraft-pi/mods
|
// Built-In Mods
|
||||||
{
|
{
|
||||||
// Get Mods Folder
|
// Get Mods Folder
|
||||||
char *mods_folder = NULL;
|
char *mods_folder = NULL;
|
||||||
safe_asprintf(&mods_folder, "%s" HOME_SUBDIRECTORY_FOR_GAME_DATA "/mods/", getenv("HOME"));
|
safe_asprintf(&mods_folder, "%s/mods/", binary_directory);
|
||||||
// Load Mods From ./mods
|
// Load Mods From ./mods
|
||||||
load(&new_ld_preload, mods_folder);
|
load(&new_ld_preload, mods_folder);
|
||||||
// Free Mods Folder
|
// Free Mods Folder
|
||||||
|
Loading…
Reference in New Issue
Block a user