A bunch of AttachedEntity bullshit

This commit is contained in:
metalgearsloth
2021-12-06 15:39:46 +11:00
parent 215cae5655
commit 525297c5fe
58 changed files with 135 additions and 133 deletions

View File

@@ -67,7 +67,7 @@ namespace Content.Server.Alert
{
Logger.DebugS("alert", "user {0} attempted to" +
" click alert {1} which is not currently showing for them",
IoCManager.Resolve<IEntityManager>().GetComponent<MetaDataComponent>(player.Value).EntityName, msg.Type);
IoCManager.Resolve<IEntityManager>().GetComponent<MetaDataComponent>(player).EntityName, msg.Type);
break;
}
@@ -77,7 +77,7 @@ namespace Content.Server.Alert
break;
}
alert.OnClick?.AlertClicked(new ClickAlertEventArgs(player.Value, alert));
alert.OnClick?.AlertClicked(new ClickAlertEventArgs(player, alert));
break;
}
}