Fix hand examine showing virtual items.

This commit is contained in:
Vera Aguilera Puerto
2021-10-01 13:37:43 +02:00
parent 0686e915a2
commit 36514f4bbd
3 changed files with 8 additions and 1 deletions

View File

@@ -183,6 +183,9 @@ namespace Content.Server.Hands.Systems
{
foreach (var inhand in component.GetAllHeldItems())
{
if (inhand.Owner.HasComponent<HandVirtualItemComponent>())
continue;
args.PushText(Loc.GetString("comp-hands-examine", ("user", component.Owner), ("item", inhand.Owner)));
}
}

View File

@@ -2129,7 +2129,7 @@ Entries:
- {message: Fixes drinking glasses not breaking when thrown., type: Fix}
id: 380
time: '2021-10-01T10:29:58.505975+00:00'
- author: Your_Name_Here
- author: Zumorica
changes:
- {message: Fix mob inventory strip window showing virtual items it shouldn't.,
type: Fix}

View File

@@ -0,0 +1,4 @@
author: Zumorica
changes:
- type: Fix # One of the following: Add, Remove, Tweak, Fix
message: Fix hands examine text showing virtual items it shouldn't.