From 84f07aa55c008628ee8b3d0876fecf53145c94c4 Mon Sep 17 00:00:00 2001 From: BobSong <605277374@qq.com> Date: Wed, 19 Nov 2025 23:46:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=87=E6=8D=A2=E6=8F=92=E6=A7=BD=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Hotfix/Game/Handler/C2Game_SetSlotRequestHandler.cs | 6 ++++++ Hotfix/Game/Item/PlayerItemContainerComponentSystem.cs | 2 -- Server.sln.DotSettings.user | 1 + 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Hotfix/Game/Handler/C2Game_SetSlotRequestHandler.cs b/Hotfix/Game/Handler/C2Game_SetSlotRequestHandler.cs index eceb2ee..b0b0944 100644 --- a/Hotfix/Game/Handler/C2Game_SetSlotRequestHandler.cs +++ b/Hotfix/Game/Handler/C2Game_SetSlotRequestHandler.cs @@ -30,6 +30,12 @@ public class C2Game_SetSlotRequestHandler : RouteRPC -1) + { + itemContainer.Slots[oldSlotIndex] = 0; + } + itemContainer.Slots[request.Index] = request.Id; } else diff --git a/Hotfix/Game/Item/PlayerItemContainerComponentSystem.cs b/Hotfix/Game/Item/PlayerItemContainerComponentSystem.cs index cc21b48..1ffb2f8 100644 --- a/Hotfix/Game/Item/PlayerItemContainerComponentSystem.cs +++ b/Hotfix/Game/Item/PlayerItemContainerComponentSystem.cs @@ -16,8 +16,6 @@ public sealed class ItemContainerDestroySystem : DestroySystemForceIncluded ForceIncluded ForceIncluded + ForceIncluded ForceIncluded ForceIncluded \ No newline at end of file