Better stack log warning

This commit is contained in:
Metal Gear Sloth
2021-02-26 18:20:19 +11:00
parent d20fba706c
commit 0165a525a4

View File

@@ -86,7 +86,7 @@ namespace Content.Shared.GameObjects.Components
if (!_prototypeManager.HasIndex<StackPrototype>(StackTypeId)) if (!_prototypeManager.HasIndex<StackPrototype>(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}");
} }
} }