Skip to content

Commit

Permalink
Fixing obsolet use
Browse files Browse the repository at this point in the history
  • Loading branch information
SrLicht committed Aug 28, 2024
1 parent 03fc68d commit ca9d56a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions EXILED/Exiled.API/Features/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3572,11 +3572,11 @@ public void RandomTeleport(Type type)
nameof(Player) => Dictionary.Values.GetRandomValue(),
nameof(Pickup) => Pickup.BaseToPickup.GetRandomValue().Value,
nameof(Ragdoll) => Ragdoll.List.GetRandomValue(),
nameof(Locker) => Map.GetRandomLocker(),
nameof(Locker) => Map.GetRandomLocker(ZoneType.Unspecified, LockerType.Unknow),
nameof(Generator) => Generator.List.GetRandomValue(),
nameof(Window) => Window.List.GetRandomValue(),
nameof(Scp914) => Scp914.Scp914Controller,
nameof(LockerChamber) => Map.GetRandomLocker().Chambers.GetRandomValue(),
nameof(LockerChamber) => Map.GetRandomLocker(ZoneType.Unspecified, LockerType.Unknow).Chambers.GetRandomValue(),
_ => null,
};

Expand Down

0 comments on commit ca9d56a

Please sign in to comment.