Help me v2

Discussion in 'Spigot Plugin Help' started by szymek1223, Jul 9, 2021.

  1. Welcome back,
    when I open the gui with the /pandora command and click on any armor (no air) the gui with ranks opens. Anyone know how to fix it?

    code from opening gui with / pandora
    https://pastebin.com/7UU5qvgz

    code from opening gui with command / rank
    https://pastebin.com/ZX2X6V8p

    if you need other code from doing this gui write me
     

    Attached Files:

  2. Please explain in detail. And use the wrong forum
     
    1. switch(e.getCurrentItem().getType()) {
    2. case DIAMOND_HELMET:
    3. case DIAMOND_CHESTPLATE:
    4. case DIAMOND_LEGGINGS:
    5. case DIAMOND_BOOTS:
    6. RanksGUI.openGUI(p);
    7. break;
    8. }
    Here you need to add break; after each case
     
  3.