Solved Inventory not opening

Discussion in 'Plugin Development' started by PieMan456, Nov 17, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    PieMan456

    JRL1004
    Oh. If that is why it hasn't been working this whole time I am going to be so mad.
     
  2. Offline

    JRL1004

    PieMan456 I doubt that is the reason. If you do not getting "working" then you are not passing the second check.
     
  3. Offline

    PieMan456

    JRL1004
    HAHAHAHAHAHAHAHAHAHA YOU FIXED IT I LOVE YOU SO MUCH!!!!!!!!!!
     
  4. Offline

    JRL1004

    PieMan456 Not a problem. I actually quite enjoyed trying to fix it :3 Make sure you change the thread to solved
     
  5. Offline

    the_merciless

    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());

    if(name.equalsIgnoreCase("Worlds")){

    }
     
Thread Status:
Not open for further replies.

Share This Page