Closed juliangarnier closed 3 years ago
This PR makes it safe to call hasComponent on unregistered components and prevent getting the TypeError Cannot destructure property 'generationId' of 'world[$componentMap].get(...)' as it is undefined..
Cannot destructure property 'generationId' of 'world[$componentMap].get(...)' as it is undefined.
🙏 thanks julian!
This PR makes it safe to call hasComponent on unregistered components and prevent getting the TypeError
Cannot destructure property 'generationId' of 'world[$componentMap].get(...)' as it is undefined.
.