1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2025-12-08 21:33:28 +08:00

Dustbin: bump version to 1.0.1

This commit is contained in:
2022-09-11 10:39:25 +08:00
parent fcb0376105
commit 8117ee7659
5 changed files with 10 additions and 5 deletions

View File

@@ -49,7 +49,6 @@ public class Dustbin : BaseUnityPlugin
out int remainInc, bool useBan = false) out int remainInc, bool useBan = false)
{ {
remainInc = inc; remainInc = inc;
Logger.LogInfo($"${__instance.id} ${__instance.top}");
if (!useBan || count == 0 || __instance.id != __instance.top) return true; if (!useBan || count == 0 || __instance.id != __instance.top) return true;
var size = __instance.size; var size = __instance.size;
if (size == 0 || size != __instance.bans || __instance.grids[0].count > 0) return true; if (size == 0 || size != __instance.bans || __instance.grids[0].count > 0) return true;

View File

@@ -4,7 +4,7 @@
<TargetFramework>netstandard2.0</TargetFramework> <TargetFramework>netstandard2.0</TargetFramework>
<BepInExPluginGuid>org.soardev.dustbin</BepInExPluginGuid> <BepInExPluginGuid>org.soardev.dustbin</BepInExPluginGuid>
<Description>DSP MOD - Dustbin</Description> <Description>DSP MOD - Dustbin</Description>
<Version>1.0.0</Version> <Version>1.0.1</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion> <LangVersion>latest</LangVersion>
<PackageId>Dustbin</PackageId> <PackageId>Dustbin</PackageId>

View File

@@ -12,4 +12,9 @@
in and take them out to make the dustbin working again. in and take them out to make the dustbin working again.
This is caused by a logic bug in original code where faulty set `lastFullItem` field of `StorageComponent` for This is caused by a logic bug in original code where faulty set `lastFullItem` field of `StorageComponent` for
empty storages. empty storages.
#### Updates
* 1.0.1
* Remove a debug log

View File

@@ -1,6 +1,6 @@
{ {
"name": "Dustbin", "name": "Dustbin",
"version_number": "1.0.0", "version_number": "1.0.1",
"website_url": "https://github.com/soarqin/DSP_Mods/tree/master/Dustbin", "website_url": "https://github.com/soarqin/DSP_Mods/tree/master/Dustbin",
"description": "Storages can destroy incoming items while capacity limited to zero", "description": "Storages can destroy incoming items while capacity limited to zero",
"dependencies": [ "dependencies": [

View File

@@ -7,5 +7,6 @@
* Each type of tips/messages is configurable individually. * Each type of tips/messages is configurable individually.
#### Updates #### Updates
* 1.0.1 * 1.0.1
* Hide 3 more random tutorial tips popup from bottom-right panel * Hide 3 more random tutorial tips popup from bottom-right panel