Skip to content

Commit

Permalink
Update CustomItem.cs
Browse files Browse the repository at this point in the history
pickup.IsLocked = false
  • Loading branch information
karorogunso authored Dec 30, 2024
1 parent 15ffcc6 commit 07e6428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EXILED/Exiled.CustomItems/API/Features/CustomItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ public virtual uint Spawn(IEnumerable<SpawnPoint> spawnPoints, uint limit)
continue;

if (spawnPoint is LockerSpawnPoint)
pickup.IsLocked = true;
pickup.IsLocked = false;

if (pickup.Is(out Exiled.API.Features.Pickups.FirearmPickup firearmPickup) && this is CustomWeapon customWeapon)
{
Expand Down

0 comments on commit 07e6428

Please sign in to comment.