Better stack log warning
This commit is contained in:
@@ -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}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user