Refactor plugin loading API
Build / Build (push) Successful in 1m0s

This commit is contained in:
Deukhoofd committed 2026-11-17 21:08:52 +01:00
1 parent 8254cd8ee3
commit dc367d4d05
6 files changed
+33 -12

No files matched your search

+1 -1
View File
@@ -47,7 +47,7 @@ public class Gen7Plugin : Plugin<Gen7PluginConfiguration>, IResourceProvider
registry.RegisterAssemblyScripts(typeof(Gen7Plugin).Assembly);
registry.RegisterBattleStatCalculator(new Gen7BattleStatCalculator());
registry.RegisterDamageCalculator(new Gen7DamageCalculator(Configuration));
registry.RegisterMiscLibrary(new Gen7MiscLibrary(helpers.DateTimeProvider));
registry.RegisterMiscLibrary(x => new Gen7MiscLibrary(x.DateTimeProvider));
registry.RegisterCaptureLibrary(new Gen7CaptureLibrary(Configuration));
registry.RegisterExperienceGainCalculator(new Gen7ExperienceGainCalculator());