Solved How to make item unbreakable?

Discussion in 'Spigot Plugin Help' started by FilthyyCasual, Jun 13, 2021.

  1. I've tried to make a sword unbreakable but it doesn't work. Can someone look at my code and tell me what I'm doing wrong?
    Unbreakable.PNG
     
  2. You're not setting the meta after you setUnbreakable(true).

    You need to do
    Code (Java):
    im.setUnbreakable(true);
     
    • Winner Winner x 2
  3. Thanks man it worked