1.12.2 Title not updated for some itemz

Discussion in 'Spigot Plugin Development' started by Giorgino, Feb 18, 2020.

  1. Hello everyone, by chance someone can tell me why the title is not updated when I click on some items? For example, when I click on the item red_sandstone_wall the title is not updated. For materials I use XMaterials.
     
  2. https://minecraft-ids.grahamedgecombe.com/
     
  3. What do i need?
     
  4. Am I missing something? There is no code or debugging or anything here. How can anyone find your error without code?
     
  5. If there had been an error, I would have entered it ..
     
  6. What?!
    Code? What is supposed to happen? What happens instead?
     
  7. can't help you without code. we aren't gods
     
  8. e.getCursor().setItemMeta(mi);

    i.setitemmeta(mi);
    inv.setitem(i, e.getcursor.slot);
     
  9. The name does not change ..
     
  10. You tried what I sent? I don't know what to tell you, it's working for me so I guess this is something related to the XMaterials library or something.
     
  11. Now debug your code. “Doesnt work” is a keyword for anyone who doesn’t want to waste their time to leave the thread.