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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user