From 16fb38f606980031978dbd6623ad166140f1e820 Mon Sep 17 00:00:00 2001 From: dingo Date: Mon, 26 Jan 2026 12:19:07 -0500 Subject: [PATCH] HotBar Bug --- Game/Dungeon/DungeonHandler.cs | 2 +- Networking/{Messages => DTOs}/HotbarAssignRequest.cs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) rename Networking/{Messages => DTOs}/HotbarAssignRequest.cs (53%) diff --git a/Game/Dungeon/DungeonHandler.cs b/Game/Dungeon/DungeonHandler.cs index a0dc15a..ea6f264 100644 --- a/Game/Dungeon/DungeonHandler.cs +++ b/Game/Dungeon/DungeonHandler.cs @@ -1494,7 +1494,7 @@ public sealed partial class DungeonHandler : IClientMessageHandler // Send updated inventory state (includes hotbar) await HandleInventoryRequest(connection, session, ct); - _log.LogDebug("Player {Name} assigned inventory slot {InvSlot} to hotbar slot {HotbarSlot}", + _log.LogError("Player {Name} assigned inventory slot {InvSlot} to hotbar slot {HotbarSlot}", session.Character.Name, request.InventorySlot, request.HotbarSlot); } diff --git a/Networking/Messages/HotbarAssignRequest.cs b/Networking/DTOs/HotbarAssignRequest.cs similarity index 53% rename from Networking/Messages/HotbarAssignRequest.cs rename to Networking/DTOs/HotbarAssignRequest.cs index af1ef62..a53e8b2 100644 --- a/Networking/Messages/HotbarAssignRequest.cs +++ b/Networking/DTOs/HotbarAssignRequest.cs @@ -1,4 +1,5 @@ -public class HotbarAssignRequest +namespace GameServer.Networking.DTOs; +public class HotbarAssignRequest { public int HotbarSlot { get; set; } public int InventorySlot { get; set; }