public void EnableModule() { if (!IsLoaded || IsEnabled) { return; } LoadoutPatch.Patch(); Logger.LogInfo("PlayerLoadoutModule Enabled."); IsEnabled = true; }
public void DisableModule() { if (!IsEnabled) { return; } LoadoutPatch.Unpatch(); Logger.LogInfo("PlayerLoadoutModule Disabled."); IsEnabled = false; }