Fix build

This commit is contained in:
Vera Aguilera Puerto
2021-12-08 17:44:39 +01:00
parent cdc8336695
commit 4dcfebfd53
4 changed files with 8 additions and 8 deletions

View File

@@ -126,7 +126,7 @@ namespace Content.Server.Clothing.Components
{
public bool DoToggleAction(ToggleItemActionEventArgs args)
{
if (!_entMan.TryGetComponent<MagbootsComponent?>(args.Item, out var magboots))
if (!IoCManager.Resolve<IEntityManager>().TryGetComponent<MagbootsComponent?>(args.Item, out var magboots))
return false;
magboots.Toggle(args.Performer);