Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions Robust.Server/Containers/ContainerSystem.cs
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
using Robust.Shared.Containers;
using Robust.Shared.GameObjects;
using Robust.Shared.Log;

namespace Robust.Server.Containers
namespace Robust.Server.Containers;

public sealed class ContainerSystem : SharedContainerSystem
{
public sealed class ContainerSystem : SharedContainerSystem
protected override void ValidateMissingEntity(EntityUid uid, BaseContainer cont, EntityUid missing)
{
protected override void ValidateMissingEntity(EntityUid uid, BaseContainer cont, EntityUid missing)
{
Log.Error($"Missing entity for container {ToPrettyString(uid)}. Missing uid: {missing}");
//cont.InternalRemove(ent);
}
Log.Error($"Missing entity for container {ToPrettyString(uid)}. Missing uid: {missing}");
//cont.InternalRemove(ent);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

namespace Robust.Shared.Containers;


// This partial class just exists for debug asserts and bug fixing
public abstract partial class SharedContainerSystem : EntitySystem
{
Expand Down Expand Up @@ -65,5 +64,4 @@ private void ValidateChildren(TransformComponent xform, EntityQuery<TransformCom
ValidateChildren(childXform, xformQuery, physicsQuery);
}
}

}
Loading
Loading