spigot api make item unbreakable code example
Example: spigot make item unbreakable
ItemStack item = new ItemStack(Material.DIAMOND_CHESTPLATE);;
item.setDurability((short) -1);
ItemStack item = new ItemStack(Material.DIAMOND_CHESTPLATE);;
item.setDurability((short) -1);