From a02e6eca56d3827b271526239caeae2d06cb8ef7 Mon Sep 17 00:00:00 2001 From: Jonathan Riedel Date: Sun, 8 Jun 2025 21:39:43 +0200 Subject: [PATCH] Code updates --- NightShift.csproj | 5 ++++- Plugin.cs | 6 ++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/NightShift.csproj b/NightShift.csproj index a7f5f76..4a1ed97 100644 --- a/NightShift.csproj +++ b/NightShift.csproj @@ -4,7 +4,7 @@ netstandard2.1 NightShift My first plugin - 1.0.2 + 1.0.3 true latest @@ -29,6 +29,9 @@ D:\SteamLibrary\steamapps\common\Supermarket Simulator\Supermarket Simulator_Data\Managed\Assembly-CSharp.dll + + D:\SteamLibrary\steamapps\common\Supermarket Simulator\Supermarket Simulator_Data\Managed\AYellowpaper.SerializedCollections.dll + D:\SteamLibrary\steamapps\common\Supermarket Simulator\Supermarket Simulator_Data\Managed\LeanPool.dll diff --git a/Plugin.cs b/Plugin.cs index e207029..3e11dbf 100644 --- a/Plugin.cs +++ b/Plugin.cs @@ -1,7 +1,5 @@ using BepInEx; using HarmonyLib; -using Lean.Pool; -using MyBox; using System.Collections.Generic; using System.Linq; using UnityEngine; @@ -15,7 +13,7 @@ namespace NightShift private void Awake() { Instance = this; - Logger.LogInfo($"Plugin {PluginInfo.PLUGIN_GUID} is loaded! Applying patch..."); + //Logger.LogInfo($"Plugin {PluginInfo.PLUGIN_GUID} is loaded! Applying patch..."); Harmony harmony = new Harmony(PluginInfo.PLUGIN_GUID); harmony.PatchAll(); } @@ -25,7 +23,7 @@ namespace NightShift } public void InstantRestock() { - Logger.LogWarning("Running instant restock"); + //Logger.LogWarning("Running instant restock"); var indexedRackSlots = Singleton.Instance.m_RackSlots.ToDictionary(x => x.Key, x => x.Value); foreach (var key in indexedRackSlots.Keys.ToArray())