Use item keys in action-bar consumables
This commit is contained in:
parent
c2f5d04e91
commit
b24811a69a
4 changed files with 8 additions and 4 deletions
|
|
@ -94,8 +94,7 @@ public class ActionBarConsumableBinding : ActionBarBinding
|
|||
else Slot.Fill.fillAmount = instance.RemainingDuration / instance.Duration;
|
||||
}
|
||||
|
||||
public string TargetItemKey =>
|
||||
Guid.TryParse(Target?.LegacyId, out var legacyId) ? AetheriaRuntimeItemReference.FromLegacyId(legacyId) : "";
|
||||
public string TargetItemKey => Target?.ItemKey ?? "";
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue