Skip to content

Conversation

@CodeW0lf
Copy link

Cursor Stack Handling Improvements

Refactored the cursor stack handling logic in control.lua to properly handle both ghost items and real items:

  • Fixed a bug where ghost items weren't being handled correctly
  • cursor_ghost is an ItemIDAndQualityIDPair table which is different from a stack and will never be valid_for_read
  • Grabbing prototypes directly from the cursor_ghost or cursor_stack

@CodeW0lf CodeW0lf changed the title Fix remote view indicators but correctly reading the item prototype from cursor ghost Fix remote view indicators by correctly reading the item prototype from cursor ghost Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant