diff --git a/Content.Server/Materials/MaterialStorageSystem.cs b/Content.Server/Materials/MaterialStorageSystem.cs index 8764ff9f77..18ccc1ce12 100644 --- a/Content.Server/Materials/MaterialStorageSystem.cs +++ b/Content.Server/Materials/MaterialStorageSystem.cs @@ -1,5 +1,6 @@ using Content.Shared.Materials; using Content.Shared.Popups; +using Content.Server.Power.Components; using Robust.Shared.Player; namespace Content.Server.Materials; @@ -16,6 +17,8 @@ public sealed class MaterialStorageSystem : SharedMaterialStorageSystem { if (!Resolve(receiver, ref component)) return false; + if (TryComp(receiver, out var power) && !power.Powered) + return false; if (!base.TryInsertMaterialEntity(user, toInsert, receiver, component)) return false; _audio.PlayPvs(component.InsertingSound, component.Owner);