Open AdalynBlack opened 1 month ago
The main plugin file imports
OPJosMod.ReviveCompany.CustomRpc
, causing the mod to fail to load if ReviveCompany isn't installed. This import should be moved to a separate class, which is only loaded if the mod is detected
How this happen? I mean i've set the dependency into soft not hard. Which does not force need the mod if the mod didn't loaded. But anyway I'll get a fix. Thank you for repoy.
Setting it as a soft dependency means BepinEx will try to load it regardless of whether the other mod is present, but if it is, your mod will load after it BepInEx dependencies don't prevent issues if the code tries to reference a mod that isn't present
Setting it as a soft dependency means BepinEx will try to load it regardless of whether the other mod is present, but if it is, your mod will load after it BepInEx dependencies don't prevent issues if the code tries to reference a mod that isn't present
Can you try this, I've deleted the reference of the OPJosMod.ReviveCompany.CustomRpc
in the plugin.cs
The main plugin file imports
OPJosMod.ReviveCompany.CustomRpc
, causing the mod to fail to load if ReviveCompany isn't installed. This import should be moved to a separate class, which is only loaded if the mod is detected