Entity Whitelist changes (#7426)

This commit is contained in:
Leon Friedrich
2022-04-06 17:21:45 +12:00
committed by GitHub
parent c2867cd9e5
commit f583d0b96a
5 changed files with 33 additions and 38 deletions

View File

@@ -1,4 +1,4 @@
using System.Collections.Generic;
using System.Collections.Generic;
using Content.Server.Storage.Components;
using Content.Shared.Storage.Components;
using Content.Shared.Storage.EntitySystems;
@@ -24,7 +24,7 @@ namespace Content.Server.Storage.EntitySystems
{
foreach (var entity in containedLayers)
{
if (mapLayerData.Whitelist.IsValid(entity))
if (mapLayerData.ServerWhitelist.IsValid(entity))
{
list.Add(mapLayerData.Layer);
break;