Fix build.

I HATE STATIC I HATE STATIC I HATE STATIC
This commit is contained in:
Vera Aguilera Puerto
2021-12-08 13:07:24 +01:00
parent c8b65be747
commit 0a71b62305
7 changed files with 32 additions and 23 deletions

View File

@@ -24,7 +24,7 @@ namespace Content.Server.ParticleAccelerator.EntitySystems
component.OnAnchorChanged();
}
private static void RotateEvent(ref RotateEvent ev)
private void RotateEvent(ref RotateEvent ev)
{
if (EntityManager.TryGetComponent(ev.Sender, out ParticleAcceleratorPartComponent? part))
{

View File

@@ -172,7 +172,7 @@ namespace Content.Server.Power.EntitySystems
RaiseLocalEvent(provider.Owner, new ReceiverConnectedEvent(receiver), broadcast: false);
}
private static bool TryFindAvailableProvider(EntityUid owner, float range, [NotNullWhen(true)] out ExtensionCableProviderComponent? foundProvider)
private bool TryFindAvailableProvider(EntityUid owner, float range, [NotNullWhen(true)] out ExtensionCableProviderComponent? foundProvider)
{
var nearbyEntities = IoCManager.Resolve<IEntityLookup>()
.GetEntitiesInRange(owner, range);

View File

@@ -317,7 +317,7 @@ namespace Content.Server.Power.EntitySystems
_powerState.Networks.Allocate(out network.Id) = network;
}
private static void DoReconnectApcNet(ApcNet net)
private void DoReconnectApcNet(ApcNet net)
{
var netNode = net.NetworkNode;
@@ -349,7 +349,7 @@ namespace Content.Server.Power.EntitySystems
}
}
private static void DoReconnectPowerNet(PowerNet net)
private void DoReconnectPowerNet(PowerNet net)
{
var netNode = net.NetworkNode;

View File

@@ -74,7 +74,7 @@ namespace Content.Server.Rotatable
/// <summary>
/// Replace a flippable entity with it's flipped / mirror-symmetric entity.
/// </summary>
public static void TryFlip(FlippableComponent component, EntityUid user)
public void TryFlip(FlippableComponent component, EntityUid user)
{
if (EntityManager.TryGetComponent(component.Owner, out IPhysBody? physics) &&
physics.BodyType == BodyType.Static)

View File

@@ -114,7 +114,7 @@ namespace Content.Server.Storage.EntitySystems
args.Verbs.Add(verb);
}
private static void HandleEntityRemovedFromContainer(EntRemovedFromContainerMessage message)
private void HandleEntityRemovedFromContainer(EntRemovedFromContainerMessage message)
{
var oldParentEntity = message.Container.Owner;
@@ -124,7 +124,7 @@ namespace Content.Server.Storage.EntitySystems
}
}
private static void HandleEntityInsertedIntoContainer(EntInsertedIntoContainerMessage message)
private void HandleEntityInsertedIntoContainer(EntInsertedIntoContainerMessage message)
{
var oldParentEntity = message.Container.Owner;