Fix build.
I HATE STATIC I HATE STATIC I HATE STATIC
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user