From de40546502a825b50419bc0835eba2a891110629 Mon Sep 17 00:00:00 2001 From: MSWS Date: Sat, 27 Jan 2024 00:52:50 -0800 Subject: [PATCH] Fix DI --- mod/Jailbreak.Draw/Global/DrawManager.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mod/Jailbreak.Draw/Global/DrawManager.cs b/mod/Jailbreak.Draw/Global/DrawManager.cs index 8acc1794..685c8095 100644 --- a/mod/Jailbreak.Draw/Global/DrawManager.cs +++ b/mod/Jailbreak.Draw/Global/DrawManager.cs @@ -9,7 +9,11 @@ public class DrawManager : IPluginBehavior, IDrawService { private List shapes = new List(); - public DrawManager(BasePlugin plugin) + public DrawManager() + { + } + + public void Start(BasePlugin plugin) { plugin.AddTimer(1f, Tick, TimerFlags.REPEAT); }