Skip to content

Commit f3c32c1

Browse files
authored
remove nullable
1 parent eb57166 commit f3c32c1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

EXILED/Exiled.API/Features/Spawn/LockerSpawnPoint.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@ public override Vector3 Position
7171
/// <param name="chamber">The chamber to spawn in. Null when <see cref="UseChamber"/> is false.</param>
7272
/// <param name="position">The position to spawn in.</param>
7373
/// <exception cref="NullReferenceException">No locker was found.</exception>
74-
#nullable enable
75-
public void GetSpawningInfo(out Locker locker, out Chamber? chamber, out Vector3 position)
74+
public void GetSpawningInfo(out Locker locker, out Chamber chamber, out Vector3 position)
7675
{
7776
locker = Locker.Random(Zone, Type) ?? throw new NullReferenceException($"No locker found of type {Type} in {Zone}.");
7877
chamber = UseChamber ? locker.Chambers.GetRandomValue() : null;

0 commit comments

Comments
 (0)