Move behavior grouping onto runtime instances

This commit is contained in:
Meta Vens 2026-06-14 17:27:16 +01:00
commit eabe0961e6
5 changed files with 13 additions and 9 deletions

View file

@ -1395,7 +1395,7 @@ public class EquippedItem
Behaviors = ItemManager.CreateRuntimeBehaviors(this);
BehaviorGroups = Behaviors
.GroupBy(b => b.Data.Group)
.GroupBy(b => b.Group)
.OrderBy(g => g.Key)
.ToDictionary(g => g.Key, g => new BehaviorGroup
{