We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb57166 commit f3c32c1Copy full SHA for f3c32c1
1 file changed
EXILED/Exiled.API/Features/Spawn/LockerSpawnPoint.cs
@@ -71,8 +71,7 @@ public override Vector3 Position
71
/// <param name="chamber">The chamber to spawn in. Null when <see cref="UseChamber"/> is false.</param>
72
/// <param name="position">The position to spawn in.</param>
73
/// <exception cref="NullReferenceException">No locker was found.</exception>
74
- #nullable enable
75
- public void GetSpawningInfo(out Locker locker, out Chamber? chamber, out Vector3 position)
+ public void GetSpawningInfo(out Locker locker, out Chamber chamber, out Vector3 position)
76
{
77
locker = Locker.Random(Zone, Type) ?? throw new NullReferenceException($"No locker found of type {Type} in {Zone}.");
78
chamber = UseChamber ? locker.Chambers.GetRandomValue() : null;
0 commit comments