Skip to content

Commit

Permalink
Update BiomassReclaimerSystem.cs (#1750)
Browse files Browse the repository at this point in the history
  • Loading branch information
dvir001 authored Jul 28, 2024
1 parent f08508a commit 07db37c
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
using Robust.Shared.Physics.Components;
using Robust.Shared.Prototypes;
using Robust.Shared.Random;
using Content.Shared._NF.Contraband.Components; // Frontier

namespace Content.Server.Medical.BiomassReclaimer
{
Expand Down Expand Up @@ -251,7 +252,10 @@ private void StartProcessing(EntityUid toProcess, Entity<BiomassReclaimerCompone
var inventory = _inventory.GetHandOrInventoryEntities(toProcess);
foreach (var item in inventory)
{
_transform.DropNextTo(item, ent.Owner);
if (!HasComp<ContrabandComponent>(item)) // Frontier - delete contraband
{
_transform.DropNextTo(item, ent.Owner);
}
}

QueueDel(toProcess);
Expand Down

0 comments on commit 07db37c

Please sign in to comment.