diff --git a/HookahPlace/src/HookahPlace.cs b/HookahPlace/src/HookahPlace.cs index bd57154..dda4e4d 100644 --- a/HookahPlace/src/HookahPlace.cs +++ b/HookahPlace/src/HookahPlace.cs @@ -18,8 +18,6 @@ public class HookahPlace : BaseUnityPlugin internal new static ManualLogSource Logger { get; private set; } = null!; internal new static ConfigFile Config { get; private set; } = null!; - internal static PersistentDataContainer PersistentData { get; private set; } = null!; - internal static DuskMod Mod { get; private set; } = null!; private void Awake() @@ -29,14 +27,6 @@ public class HookahPlace : BaseUnityPlugin Harmony.CreateAndPatchAll(Assembly.GetExecutingAssembly(), MyPluginInfo.PLUGIN_GUID); - // Example Persistent Data Container Usage - // You can do anything you want with this DataContainer, there are a few additonal ones under the DawnLib class that pertain to actual save files - PersistentData = this.GetPersistentDataContainer(); - - // e.g. track the last version the player played with, could be useful if you want do to stuff like setting migration. - // if you want to do config migration you should use DawnLib.GetCurrentInstallSave instead. - PersistentData.Set(HookahPlaceKeys.LastVersion, MyPluginInfo.PLUGIN_VERSION); - AssetBundle mainBundle = AssetBundleUtils.LoadBundle(Assembly.GetExecutingAssembly(), "hookahplaceasset"); Mod = DuskMod.RegisterMod(this, mainBundle);