Some more fixes
This commit is contained in:
@@ -10,7 +10,7 @@ namespace Content.Shared.Spawning
|
||||
{
|
||||
public static class EntitySystemExtensions
|
||||
{
|
||||
public static IEntity? SpawnIfUnobstructed(
|
||||
public static EntityUid? SpawnIfUnobstructed(
|
||||
this IEntityManager entityManager,
|
||||
string? prototypeName,
|
||||
EntityCoordinates coordinates,
|
||||
@@ -24,7 +24,7 @@ namespace Content.Shared.Spawning
|
||||
return entityManager.SpawnIfUnobstructed(prototypeName, mapCoordinates, collisionLayer, box, physicsManager);
|
||||
}
|
||||
|
||||
public static IEntity? SpawnIfUnobstructed(
|
||||
public static EntityUid? SpawnIfUnobstructed(
|
||||
this IEntityManager entityManager,
|
||||
string? prototypeName,
|
||||
MapCoordinates coordinates,
|
||||
@@ -59,7 +59,7 @@ namespace Content.Shared.Spawning
|
||||
string? prototypeName,
|
||||
EntityCoordinates coordinates,
|
||||
CollisionGroup collisionLayer,
|
||||
[NotNullWhen(true)] out IEntity? entity,
|
||||
[NotNullWhen(true)] out EntityUid? entity,
|
||||
Box2? box = null,
|
||||
SharedPhysicsSystem? physicsManager = null)
|
||||
{
|
||||
@@ -73,7 +73,7 @@ namespace Content.Shared.Spawning
|
||||
string? prototypeName,
|
||||
MapCoordinates coordinates,
|
||||
CollisionGroup collisionLayer,
|
||||
[NotNullWhen(true)] out IEntity? entity,
|
||||
[NotNullWhen(true)] out EntityUid? entity,
|
||||
in Box2? box = null,
|
||||
SharedPhysicsSystem? physicsManager = null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user