improve the robustness of the update checker, plus RFB compat

This commit is contained in:
FalsePattern committed 2024-04-17 17:17:44 +02:00
1 parent b252491fbd
commit 49c319aaef
21 files changed
+507 -137

No files matched your search

@@ -1,5 +1,6 @@
package com.falsepattern.lib.internal.config;
import com.falsepattern.lib.internal.FPLog;
import com.falsepattern.lib.internal.Share;
import lombok.AccessLevel;
import lombok.NoArgsConstructor;
@@ -37,7 +38,7 @@ public final class InGameModOptionsFix {
MODS_FIELD.setAccessible(true);
} catch (NoSuchFieldException e) {
MODS_FIELD = null;
Share.LOG.error("Failed to get field: cpw.mods.fml.client.GuiModList.mods,"
FPLog.LOG.error("Failed to get field: cpw.mods.fml.client.GuiModList.mods,"
+ " In-Game Mod Options Fix will not work", e);
return;
}