From b8ef84deb2880365b4a668772ec53b7863d1e869 Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Sun, 30 Nov 2025 18:27:53 +0000 Subject: [PATCH] Update to Ror2 1.4.0 --- AntiYoink/AntiYoink.cs | 6 +++--- AntiYoink/AntiYoink.csproj | 8 ++++---- Thunderstore/manifest.json | 10 +++++----- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/AntiYoink/AntiYoink.cs b/AntiYoink/AntiYoink.cs index 8cced04..afc3fc2 100644 --- a/AntiYoink/AntiYoink.cs +++ b/AntiYoink/AntiYoink.cs @@ -36,9 +36,9 @@ namespace AntiYoink public const string PluginGUID = PluginAuthor + "." + PluginName; public const string PluginAuthor = "devplayer0"; public const string PluginName = "AntiYoink"; - public const string PluginVersion = "0.1.0"; + public const string PluginVersion = "0.1.1"; - private const bool DevMode = true; + private const bool DevMode = false; public static ConfigEntry MaxItemCountDelta { get; set; } @@ -80,7 +80,7 @@ namespace AntiYoink foreach (var i in inv.itemAcquisitionOrder) { if (ItemCatalog.GetItemDef(i).hidden) continue; - itemCount += inv.GetItemCount(i); + itemCount += inv.GetItemCountPermanent(i); } return itemCount; diff --git a/AntiYoink/AntiYoink.csproj b/AntiYoink/AntiYoink.csproj index a212e6f..cf9cb9e 100644 --- a/AntiYoink/AntiYoink.csproj +++ b/AntiYoink/AntiYoink.csproj @@ -12,14 +12,14 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - + - + - - + + \ No newline at end of file diff --git a/Thunderstore/manifest.json b/Thunderstore/manifest.json index ddad353..155e3d5 100644 --- a/Thunderstore/manifest.json +++ b/Thunderstore/manifest.json @@ -1,12 +1,12 @@ { "name": "AntiYoink", - "version_number": "0.1.0", + "version_number": "0.1.1", "website_url": "https://git.nul.ie/dev/RoR2-AntiYoink", "description": "Prevent yoinking.", "dependencies": [ - "bbepis-BepInExPack-5.4.2117", - "RiskofThunder-HookGenPatcher-1.2.4", - "RiskofThunder-R2API_Items-1.0.4", - "RiskofThunder-R2API_Language-1.0.1" + "bbepis-BepInExPack-5.4.2121", + "RiskofThunder-HookGenPatcher-1.2.9", + "RiskofThunder-R2API_Items-1.0.7", + "RiskofThunder-R2API_Language-1.1.0" ] }