Skip to content

Commit b91e186

Browse files
committed
Made a couple optional parameters explicitly required for mod toggles to avoid potential accidental behaviors in the future..
1 parent ee053ab commit b91e186

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xivModdingFramework/Mods/Modding.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ public async Task ToggleModPackStatus(string modPackName, bool enable)
338338
/// <param name="enable"></param>
339339
/// <param name="mod"></param>
340340
/// <returns></returns>
341-
public async Task<bool> ToggleModUnsafe(bool enable, Mod mod, bool includeInternal = false, bool updateCache = false)
341+
public async Task<bool> ToggleModUnsafe(bool enable, Mod mod, bool includeInternal, bool updateCache)
342342
{
343343
if (mod == null) return false;
344344
if (string.IsNullOrEmpty(mod.name)) return false;

0 commit comments

Comments
 (0)