Revert "Fix some friend access violations by allowing others access. (#8594) (#8703)

This commit is contained in:
Pieter-Jan Briers
2022-06-07 13:44:31 +02:00
committed by GitHub
parent c5f7c61041
commit cecf87997b
162 changed files with 169 additions and 197 deletions

View File

@@ -7,7 +7,7 @@ namespace Content.Shared.Pulling.Components
{
// Before you try to add another type than SharedPullingStateManagementSystem, consider the can of worms you may be opening!
[NetworkedComponent()]
[Access(typeof(SharedPullingStateManagementSystem))]
[Friend(typeof(SharedPullingStateManagementSystem))]
[RegisterComponent]
public sealed class SharedPullableComponent : Component
{
@@ -26,7 +26,6 @@ namespace Content.Shared.Pulling.Components
public bool BeingPulled => Puller != null;
[Access(typeof(SharedPullingStateManagementSystem), Other = AccessPermissions.ReadExecute)] // FIXME Friends
public EntityCoordinates? MovingTo { get; set; }
public override ComponentState GetComponentState()