ServerStorage yaml case fix

This commit is contained in:
py01
2020-07-18 19:37:17 -06:00
parent 72a5a3f3fd
commit e33caaddea
7 changed files with 10 additions and 10 deletions

View File

@@ -44,7 +44,7 @@ namespace Content.Server.GameObjects.Components.Items.Storage
private bool _storageInitialCalculated;
private int _storageUsed;
private int _storageCapacityMax = 10000;
private int _storageCapacityMax;
public readonly HashSet<IPlayerSession> SubscribedSessions = new HashSet<IPlayerSession>();
public IReadOnlyCollection<IEntity>? StoredEntities => _storage?.ContainedEntities;
@@ -320,7 +320,7 @@ namespace Content.Server.GameObjects.Components.Items.Storage
{
base.ExposeData(serializer);
serializer.DataField(ref _storageCapacityMax, "Capacity", 10000);
serializer.DataField(ref _storageCapacityMax, "capacity", 10000);
//serializer.DataField(ref StorageUsed, "used", 0);
}