This PR fixes the issue where using the power or resource entity condition type without using the living entity condition type beforehand would cause a crash.
It would be now properly handled by using ComponentKey#maybeGet to get the power component from entities that can only have it
This PR fixes the issue where using the
power
orresource
entity condition type without using theliving
entity condition type beforehand would cause a crash.It would be now properly handled by using
ComponentKey#maybeGet
to get the power component from entities that can only have it