Use getPlayer instead of casting from OfflinePlayer