Clean up all missing EntitySystem proxy method uses (#38353)
This commit is contained in:
@@ -517,9 +517,9 @@ namespace Content.Server.Ghost
|
||||
if (playerEntity != null && viaCommand)
|
||||
{
|
||||
if (forced)
|
||||
_adminLog.Add(LogType.Mind, $"{EntityManager.ToPrettyString(playerEntity.Value):player} was forced to ghost via command");
|
||||
_adminLog.Add(LogType.Mind, $"{ToPrettyString(playerEntity.Value):player} was forced to ghost via command");
|
||||
else
|
||||
_adminLog.Add(LogType.Mind, $"{EntityManager.ToPrettyString(playerEntity.Value):player} is attempting to ghost via command");
|
||||
_adminLog.Add(LogType.Mind, $"{ToPrettyString(playerEntity.Value):player} is attempting to ghost via command");
|
||||
}
|
||||
|
||||
var handleEv = new GhostAttemptHandleEvent(mind, canReturnGlobal);
|
||||
@@ -592,7 +592,7 @@ namespace Content.Server.Ghost
|
||||
}
|
||||
|
||||
if (playerEntity != null)
|
||||
_adminLog.Add(LogType.Mind, $"{EntityManager.ToPrettyString(playerEntity.Value):player} ghosted{(!canReturn ? " (non-returnable)" : "")}");
|
||||
_adminLog.Add(LogType.Mind, $"{ToPrettyString(playerEntity.Value):player} ghosted{(!canReturn ? " (non-returnable)" : "")}");
|
||||
|
||||
var ghost = SpawnGhost((mindId, mind), position, canReturn);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user