Discussion in 'Plugin Development' started by PieMan456, Nov 17, 2013.
Oh. If that is why it hasn't been working this whole time I am going to be so mad.
PieMan456 I doubt that is the reason. If you do not getting "working" then you are not passing the second check.
HAHAHAHAHAHAHAHAHAHA YOU FIXED IT I LOVE YOU SO MUCH!!!!!!!!!!
PieMan456 Not a problem. I actually quite enjoyed trying to fix it :3 Make sure you change the thread to solved
You keep changing the code I provided you, that's why you kept getting it wrong.
To check strings without colour codes you will need to use:
String name = ChatColor.stripColor(p.getItemInHand().getItemMeta().getDisplayName());
Separate names with a comma.