Revert "Mind ecs" (#14881)

This commit is contained in:
Leon Friedrich
2023-03-27 10:24:00 +13:00
committed by GitHub
parent c6c8fa2075
commit 4d71b1b81e
85 changed files with 684 additions and 1150 deletions

View File

@@ -29,7 +29,7 @@ namespace Content.Server.Chat.Commands
var mind = player.ContentData()?.Mind;
// This check also proves mind not-null for at the end when the mob is ghosted.
if (mind?.OwnedEntity is not { Valid: true } victim)
if (mind?.OwnedComponent?.Owner is not { Valid: true } victim)
{
shell.WriteLine("You don't have a mind!");
return;