Skip to content

fix: 🐛 observer entity invocation (#19)#19

Open
baohouse wants to merge 3 commits into
hacktoolkit:masterfrom
BawsHuman:fix/observer-npe
Open

fix: 🐛 observer entity invocation (#19)#19
baohouse wants to merge 3 commits into
hacktoolkit:masterfrom
BawsHuman:fix/observer-npe

Conversation

@baohouse
Copy link
Copy Markdown

@baohouse baohouse commented Jul 3, 2025

Updated the observer logic to use optional chaining when accessing the 'all' observers for an entity, preventing potential runtime errors when the entity does not exist.

baohouse added 3 commits July 2, 2025 18:06
Updated the observer logic to use optional chaining when accessing the 'all' observers for an entity, preventing potential runtime errors when the entity does not exist.
@baohouse baohouse changed the title fix: 🐛 add optional chaining to observer entity access (#19) fix: 🐛 observer entity invocation (#19) Jul 3, 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