diff --git a/HookahPlace/src/HookahPlace.cs b/HookahPlace/src/HookahPlace.cs index 4fac385..bd57154 100644 --- a/HookahPlace/src/HookahPlace.cs +++ b/HookahPlace/src/HookahPlace.cs @@ -7,6 +7,7 @@ using Dawn.Utils; using HarmonyLib; using Dusk; using BepInEx.Configuration; +using HookahPlace.Content; namespace HookahPlace; @@ -38,7 +39,9 @@ public class HookahPlace : BaseUnityPlugin AssetBundle mainBundle = AssetBundleUtils.LoadBundle(Assembly.GetExecutingAssembly(), "hookahplaceasset"); Mod = DuskMod.RegisterMod(this, mainBundle); - Mod.RegisterContentHandlers(); + + // Effectively the same as `Mod.RegisterContentHandlers();` but simpler and faster + _ = new HookahContentHandler(Mod); Logger.LogInfo($"{MyPluginInfo.PLUGIN_GUID} v{MyPluginInfo.PLUGIN_VERSION} has loaded!"); }