Fixing some warnings (#6250)
Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
This commit is contained in:
@@ -89,7 +89,7 @@ namespace Content.Server.Chat.Commands
|
||||
|
||||
// Held item suicide
|
||||
var handsComponent = _entities.GetComponent<HandsComponent>(owner);
|
||||
var itemComponent = handsComponent.GetActiveHand;
|
||||
var itemComponent = handsComponent.GetActiveHandItem;
|
||||
if (itemComponent != null)
|
||||
{
|
||||
var suicide = _entities.GetComponents<ISuicideAct>(itemComponent.Owner).FirstOrDefault();
|
||||
|
||||
Reference in New Issue
Block a user