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

item.from and item.player: use a unique identifier #178

Open
shakty opened this issue Sep 7, 2022 · 0 comments
Open

item.from and item.player: use a unique identifier #178

shakty opened this issue Sep 7, 2022 · 0 comments

Comments

@shakty
Copy link
Member

shakty commented Sep 7, 2022

When a msg arrives to a client (e.g., caught with node.on.data) the id of the sender is under item.from.
When the message is inserted into the memory database, the id of the client is under item.player.
This is a bit confusing, perhaps using the same identifier would simplify things.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant