This repository has been archived by the owner on Dec 19, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(client): support objects with invalid entity type
Some entities will return an entity type of 0 ("no entity"), despite clearly being an entity. Calling GetEntityModel either returns a model, or throws a native invocation error. Use a protected call for GetEntityModel and treat anything with a model as an object. Notably fixes interaction with (most?) trees, who knows what else.
- Loading branch information