[Bleeding] Fix checks for non-living entities. Fixes BUKKIT-5667
Implement new getOnlinePlayers. Adds BUKKIt-5668