[Bleeding] Fix inverted checks for non-living entities. Fixes BUKKIT-5667