This is faster if all you need is the UUID, as .getOwner() will cause an OfflinePlayer to be loaded from disk.