[Interactions] Correctly display items now
This commit is contained in:
@@ -26,7 +26,7 @@ public class SlotItemBehavior : InteractionRequirementBase
|
||||
/// <returns>True if the interaction was successful, false otherwise.</returns>
|
||||
public override bool TryInteract(FollowerController follower)
|
||||
{
|
||||
var heldItem = follower.currentlyHeldItem;
|
||||
var heldItem = follower.CurrentlyHeldItem;
|
||||
var pickup = GetComponent<Pickup>();
|
||||
var slotItem = pickup != null ? pickup.itemData : null;
|
||||
var config = GameManager.Instance.GetSlotItemConfig(slotItem);
|
||||
|
||||
Reference in New Issue
Block a user