String cleanUserName = ChatColor.stripColor(player.username);
VIP vip = Resources.getVIP(cleanUserName);
if (vip == null) {
return;
}
Map<String, String> vAcs = vip.Accessories();
if (vAcs == null) {
return;
}
String that = vAcs.get("tophat");
String nhat = vAcs.get("notchhat");