Convert ItemSize to prototypes (#21481)
* item sizes are prototypes * eek
This commit is contained in:
@@ -127,6 +127,7 @@ public sealed class StatValuesCommand : IConsoleCommand
|
||||
private StatValuesEuiMessage GetItem()
|
||||
{
|
||||
var values = new List<string[]>();
|
||||
var itemSystem = _entManager.System<ItemSystem>();
|
||||
var metaQuery = _entManager.GetEntityQuery<MetaDataComponent>();
|
||||
var itemQuery = _entManager.GetEntityQuery<ItemComponent>();
|
||||
var items = new HashSet<string>(1024);
|
||||
@@ -149,7 +150,7 @@ public sealed class StatValuesCommand : IConsoleCommand
|
||||
values.Add(new[]
|
||||
{
|
||||
id,
|
||||
$"{SharedItemSystem.GetItemSizeLocale(itemComp.Size)}",
|
||||
$"{itemSystem.GetItemSizeLocale(itemComp.Size)}",
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user