Fix EaglerForge bug

This commit is contained in:
PeytonPlayz595 2024-04-20 22:10:34 -04:00
parent f1b8c27033
commit 14b424814b
6 changed files with 29273 additions and 29272 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -12,7 +12,7 @@ public class EaglercraftVersion {
/// Customize these to fit your fork: /// Customize these to fit your fork:
public static final String projectForkName = "Shadow Client"; public static final String projectForkName = "Shadow Client";
public static final String projectForkVersion = "4.1"; public static final String projectForkVersion = "4.2";
public static final String projectForkVendor = "PeytonPlayz585"; public static final String projectForkVendor = "PeytonPlayz585";
public static final String projectForkURL = "https://gitlab.com/lax1dude/eaglercraftx-1.8"; public static final String projectForkURL = "https://gitlab.com/lax1dude/eaglercraftx-1.8";

View File

@ -500,6 +500,10 @@ public class Minecraft extends ModData implements IThreadListener {
this.mojangLogo = null; this.mojangLogo = null;
this.loadingScreen = new LoadingScreenRenderer(this); this.loadingScreen = new LoadingScreenRenderer(this);
//(EaglerForge bug)
modapi.onFrame(); //Mods were loaded before onFrame is called
ModAPI.setGlobal("settings", this.gameSettings.makeModData());
ModLoader.loadLoader(); ModLoader.loadLoader();
ModLoader.loadModsFromLocalStorage(); ModLoader.loadModsFromLocalStorage();
ModLoader.loadMods(ModLoader.Mods); ModLoader.loadMods(ModLoader.Mods);