ServerStorage and Storable Yaml casing (#1424)

* Storable size yaml case fix

* ServerStorage yaml case fix

Co-authored-by: py01 <pyronetics01@gmail.com>
This commit is contained in:
ShadowCommander
2020-07-19 12:12:02 -07:00
committed by GitHub
34 changed files with 119 additions and 119 deletions

View File

@@ -45,7 +45,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;
@@ -321,7 +321,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);
}