From 550a3afc52035e19e659b01624956c6751d290e1 Mon Sep 17 00:00:00 2001 From: beck-thompson <107373427+beck-thompson@users.noreply.github.com> Date: Tue, 14 May 2024 12:01:12 -0700 Subject: [PATCH] Fix incorrect message displaying when trying to remove stuck item from someones hand. (#28024) * Fix * Fixed the other spot! --- Content.Server/Strip/StrippableSystem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Server/Strip/StrippableSystem.cs b/Content.Server/Strip/StrippableSystem.cs index 1dba52a698..6f0a1ecb32 100644 --- a/Content.Server/Strip/StrippableSystem.cs +++ b/Content.Server/Strip/StrippableSystem.cs @@ -496,7 +496,7 @@ namespace Content.Server.Strip if (!_handsSystem.TryGetHand(target, handName, out var handSlot, target.Comp)) { - _popupSystem.PopupCursor(Loc.GetString("strippable-component-item-slot-free-message", ("owner", target)), user); + _popupSystem.PopupCursor(Loc.GetString("strippable-component-item-slot-free-message", ("owner", Identity.Name(target, EntityManager, user))), user); return false; } @@ -511,7 +511,7 @@ namespace Content.Server.Strip if (!_handsSystem.CanDropHeld(target, handSlot, false)) { - _popupSystem.PopupCursor(Loc.GetString("strippable-component-cannot-drop-message", ("owner", target)), user); + _popupSystem.PopupCursor(Loc.GetString("strippable-component-cannot-drop-message", ("owner", Identity.Name(target, EntityManager, user))), user); return false; } -- 2.51.2