diff --git a/Content.Server/_NF/Cargo/Systems/CargoSystem.TradeCrates.cs b/Content.Server/_NF/Cargo/Systems/CargoSystem.TradeCrates.cs index 23005dc4d87..54c259ef5dd 100644 --- a/Content.Server/_NF/Cargo/Systems/CargoSystem.TradeCrates.cs +++ b/Content.Server/_NF/Cargo/Systems/CargoSystem.TradeCrates.cs @@ -95,13 +95,13 @@ private void DisableTradeCratePriority(EntityUid uid) private void OnDestinationInit(Entity ent, ref ComponentInit ev) { - if (!_destinations.Contains(ent.Owner)) - _destinations.Add(ent.Owner); + if (!_destinations.Contains(ent)) + _destinations.Add(ent); } private void OnDestinationRemove(Entity ent, ref ComponentRemove ev) { - _destinations.Remove(ent.Owner); + _destinations.Remove(ent); } private void CleanupTradeCrateDestinations()