Skip to content

Commit

Permalink
Make GetFeaturePatches virtual so you don't need to override it
Browse files Browse the repository at this point in the history
  • Loading branch information
Nytra authored and Banane9 committed Nov 22, 2024
1 parent 72bfc13 commit 38debad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MonkeyLoader/Patching/MonkeyBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ internal static TMonkey GetInstance<TMonkey>(Type type, Mod mod) where TMonkey :
/// <summary>
/// Gets the impacts this (pre-)patcher has on certain features.
/// </summary>
protected abstract IEnumerable<IFeaturePatch> GetFeaturePatches();
protected virtual IEnumerable<IFeaturePatch> GetFeaturePatches() => [];

/// <summary>
/// Lets this monkey react to being disabled at runtime.<br/>
Expand Down

0 comments on commit 38debad

Please sign in to comment.