diff --git a/Mods/0-SCore/Features/FoodSpoilage/Harmony/FoodSpoilage.cs b/Mods/0-SCore/Features/FoodSpoilage/Harmony/FoodSpoilage.cs
index 8ef50841..ce86e3cb 100644
--- a/Mods/0-SCore/Features/FoodSpoilage/Harmony/FoodSpoilage.cs
+++ b/Mods/0-SCore/Features/FoodSpoilage/Harmony/FoodSpoilage.cs
@@ -217,7 +217,13 @@ public static bool Prefix(XUiC_ItemStack __instance) {
blockValue.Block.Properties.GetFloat("PreserveBonus") + " )";
var preserveBonus = blockValue.Block.Properties.GetFloat("PreserveBonus");
if (preserveBonus == -99f)
+ {
+ // Setting the next spoilage tick to reset the stack.
+ nextTick = CalculateNextSpoilageTick(worldTime, tickPerLoss);
+ SetNextSpoilageTick(__instance.ItemStack.itemValue, nextTick);
+ __instance.ForceRefreshItemStack();
return true;
+ }
perUse -= preserveBonus;
}
diff --git a/Mods/0-SCore/ModInfo.xml b/Mods/0-SCore/ModInfo.xml
index 723f23aa..cbd3c218 100644
--- a/Mods/0-SCore/ModInfo.xml
+++ b/Mods/0-SCore/ModInfo.xml
@@ -5,5 +5,5 @@
-
+
\ No newline at end of file
diff --git a/Mods/0-SCore/Properties/AssemblyInfo.cs b/Mods/0-SCore/Properties/AssemblyInfo.cs
index 49f6c0b0..beebbe72 100644
--- a/Mods/0-SCore/Properties/AssemblyInfo.cs
+++ b/Mods/0-SCore/Properties/AssemblyInfo.cs
@@ -38,5 +38,5 @@
// [assembly: AssemblyVersion("1.0.*")]
//[assembly: AssemblyVersion("20.0.*")]
-[assembly: AssemblyVersion("1.1.9.2008")]
-[assembly: AssemblyFileVersion("1.1.9.2008")]
+[assembly: AssemblyVersion("1.1.10.1307")]
+[assembly: AssemblyFileVersion("1.1.10.1307")]
diff --git a/Mods/0-SCore/ReadMe.md b/Mods/0-SCore/ReadMe.md
index 1ce7cbcb..7a5c7f04 100644
--- a/Mods/0-SCore/ReadMe.md
+++ b/Mods/0-SCore/ReadMe.md
@@ -20,6 +20,10 @@ Direct Download to the 0-SCore.zip available on gitlab mirror: https://github.co
### Change Logs
[ Change Log ]
+Version: 1.1.10.1307
+ [ Food Spoilage ]
+ - Fixed an issue when using PreserveBonus -99, where a full stack would instant spoil.
+
Version: 1.1.9.2008
[ Faction Manager ]
- Added a Harmony Patch to GetFactionByName() to catch for invalid factions.
diff --git a/Mods/0-SCore/SCore.dll b/Mods/0-SCore/SCore.dll
index fcdca402..29fb96cf 100644
Binary files a/Mods/0-SCore/SCore.dll and b/Mods/0-SCore/SCore.dll differ
diff --git a/Mods/0-SCore/SCore.pdb b/Mods/0-SCore/SCore.pdb
index 6dd511c4..8e223422 100644
Binary files a/Mods/0-SCore/SCore.pdb and b/Mods/0-SCore/SCore.pdb differ