Skip to content

Commit 784a765

Browse files
committed
fix: correct compile error in editor
1 parent f0bd91a commit 784a765

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Intersect.Editor/Forms/Editors/frmItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ private void UpdateEditor()
373373
nudAttackSpeedValue.Value = mEditorItem.AttackSpeedValue;
374374
nudScaling.Value = mEditorItem.Scaling;
375375
// This will be removed after conversion to a per-stat editor. Reminder that pre-migration LowRange == HighRange - Day
376-
nudStatRangeHigh.Value = mEditorItem.StatRanges?.FirstOrDefault()?.HighRange ?? 0;
376+
nudStatRangeHigh.Value = mEditorItem.EquipmentProperties?.StatRanges?.Values.FirstOrDefault()?.HighRange ?? 0;
377377
chkCanDrop.Checked = Convert.ToBoolean(mEditorItem.CanDrop);
378378
chkCanBank.Checked = Convert.ToBoolean(mEditorItem.CanBank);
379379
chkCanGuildBank.Checked = Convert.ToBoolean(mEditorItem.CanGuildBank);

0 commit comments

Comments
 (0)