Sheet-meister 2000 (#16686)
This commit is contained in:
@@ -117,7 +117,7 @@ public sealed class MaterialStorageSystem : SharedMaterialStorageSystem
|
||||
{
|
||||
overflowMaterial = 0;
|
||||
|
||||
if (amount <= 0)
|
||||
if (amount <= 0 || materialProto.StackEntity == null)
|
||||
return new List<EntityUid>();
|
||||
|
||||
var entProto = _prototypeManager.Index<EntityPrototype>(materialProto.StackEntity);
|
||||
|
||||
Reference in New Issue
Block a user