Skip to content

Commit

Permalink
Detect CropsAnytimeAnywhere Mod
Browse files Browse the repository at this point in the history
  • Loading branch information
Smoked-Fish committed Jun 9, 2024
1 parent a6bb83d commit 28485ae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ModEntry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ private void OnGameLaunched(object? sender, GameLaunchedEventArgs e)
ConfigUtility.SkipConfig(nameof(ModConfig.MultipleMiniObelisks));
}

if (Helper.ModRegistry.IsLoaded("Pathoschild.CropsAnytimeAnywhere"))
{
Config.EnablePlanting = false;
ConfigUtility.SkipConfig(nameof(ModConfig.EnablePlanting));
}

if (!Helper.ModRegistry.IsLoaded("spacechase0.GenericModConfigMenu")) return;

// Register the main page
Expand Down

0 comments on commit 28485ae

Please sign in to comment.