Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.consume on introspection modules in manipulators does not work if player joined after manipulator loaded #89

Closed
Kan18 opened this issue Mar 13, 2024 · 1 comment

Comments

@Kan18
Copy link
Contributor

Kan18 commented Mar 13, 2024

image
The consume method on bound introspection module inventories accessed via a manipulator fails sometimes, seemingly when the bound player joins after the manipulator containing the introspection module is initially loaded. It gives the error No player associated with inventory. Possibly related to #85 ?

To reproduce:

  1. Player A and Player B join a server at the same location
  2. Player A binds an introspection module, and puts it in a manipulator next to a computer
  3. Restart the server
  4. Player B joins and loads in, then Player A joins in later
  5. The consume method on the result of getInventory() from the introspection module will error even though Player A is online
@Kan18
Copy link
Contributor Author

Kan18 commented Mar 13, 2024

dupe of #32 😳

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

No branches or pull requests

1 participant