Replace deprecated gearset accessors

This commit is contained in:
Liza 2024-06-26 01:54:12 +02:00
parent 32775ac409
commit 33c9facad4
Signed by: liza
GPG Key ID: 7199F8D727D55F67

View File

@ -169,18 +169,18 @@ internal sealed class InventoryUtils
{ {
var gearsetItems = new[] var gearsetItems = new[]
{ {
gearset->MainHand, gearset->ItemsSpan[0],
gearset->OffHand, gearset->ItemsSpan[1],
gearset->Head, gearset->ItemsSpan[2],
gearset->Body, gearset->ItemsSpan[3],
gearset->Hands, gearset->ItemsSpan[4],
gearset->Legs, gearset->ItemsSpan[6],
gearset->Feet, gearset->ItemsSpan[7],
gearset->Ears, gearset->ItemsSpan[8],
gearset->Neck, gearset->ItemsSpan[9],
gearset->Wrists, gearset->ItemsSpan[10],
gearset->RingRight, gearset->ItemsSpan[11],
gearset->RingLeft, gearset->ItemsSpan[12],
}; };
foreach (var gearsetItem in gearsetItems) foreach (var gearsetItem in gearsetItems)
{ {