diff --git a/pkg/data/item/location.go b/pkg/data/item/location.go index cbf6a62..951368d 100644 --- a/pkg/data/item/location.go +++ b/pkg/data/item/location.go @@ -15,4 +15,5 @@ const ( LocationGround Location = "ground" LocationSocket Location = "socket" LocationUnknown Location = "unknown" + LocationCursor Location = "cursor" ) diff --git a/pkg/memory/item.go b/pkg/memory/item.go index 6cae938..db80fd0 100644 --- a/pkg/memory/item.go +++ b/pkg/memory/item.go @@ -112,6 +112,8 @@ func (gd *GameReader) Items(pu data.PlayerUnit, hover data.HoverData) data.Items location = item.LocationGround case 6: location = item.LocationSocket + case 4: + location = item.LocationCursor } itm.Location = location