In-hands are now refreshed when the prefix is changed

This commit is contained in:
zumorica
2020-05-14 15:44:05 +02:00
parent 1dd7eb8677
commit 2132ff41d4
6 changed files with 58 additions and 3 deletions

View File

@@ -406,6 +406,11 @@ namespace Content.Server.GameObjects
return hands.ContainsKey(index);
}
public void RefreshInHands()
{
SendNetworkMessage(new RefreshInHandsMsg());
}
/// <summary>
/// Get the name of the slot passed to the inventory component.
/// </summary>