Closed Stmated closed 3 years ago
Thank you for reporting this problem! I am a bit busy at work and with my life right now, so I might need a few days to take a look at it. We need a some test cases and then we can fix the code. I will be able to do so in a few days, however I also welcome PRs :)
Had time sooner than anticipated and got rid of some code duplication while at it. It should now work and the checking part (in entity.ts) is now tested.
In system.ts there is this code:
But should this not be:
Or the shorter:
Since as things stand right now it will always check if it has the component and then return false if it does not.