Skip to content

Conversation

@OmeWillem
Copy link

Be aware that this is currently a draft, the code is not refined or safe yet ;))

Here's a comment from your code:

  • @param store The entity store containing player data.

But that is not necessarily true, a Store contains the components per reference based on the world, not the player.
This means that if you decide to switch worlds then updating (or hiding) becomes impossible since you save the store.

This pull request essentially changes that so that stores are not being saved but retrieved just like Player components.
I'm still testing quite a bit and this is specifically for HUDs, since you wouldn't change worlds anyway when you're in a page. (pretty sure they close, not 100%)

@OmeWillem
Copy link
Author

Alright, should be good & ready now!

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