| 296 | } |
| 297 | |
| 298 | Maybe<String> ActionBar::cursorOverride(Vec2I const&) { |
| 299 | if (m_customBarHover && m_player->inventory()->swapSlotItem()) |
| 300 | return m_config.getString("linkCursor"); |
| 301 | return {}; |
| 302 | } |
| 303 | |
| 304 | void ActionBar::customBarClick(uint8_t index, bool primary) { |
| 305 | if (auto swapItem = m_player->inventory()->swapSlotItem()) { |
no test coverage detected