From 0165a525a4bdad974474bebd6bccc6a4d9f4628b Mon Sep 17 00:00:00 2001 From: Metal Gear Sloth Date: Fri, 26 Feb 2021 18:20:19 +1100 Subject: [PATCH] Better stack log warning --- Content.Shared/GameObjects/Components/SharedStackComponent.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Shared/GameObjects/Components/SharedStackComponent.cs b/Content.Shared/GameObjects/Components/SharedStackComponent.cs index 357c5e064d..5fd0406037 100644 --- a/Content.Shared/GameObjects/Components/SharedStackComponent.cs +++ b/Content.Shared/GameObjects/Components/SharedStackComponent.cs @@ -86,7 +86,7 @@ namespace Content.Shared.GameObjects.Components if (!_prototypeManager.HasIndex(StackTypeId)) { - Logger.Error($"No {nameof(StackPrototype)} found with id {StackTypeId}"); + Logger.Error($"No {nameof(StackPrototype)} found with id {StackTypeId} for {Owner.Prototype?.ID ?? Owner.Name}"); } }