Changed the way of creating an ItemBuilder.
public static final ItemStack MY_CUSTOM_ITEM = new ItemBuilder(new ItemStack(Material.STICK))
.displayName("My Custom Item")
.amount(10)
.setLore("This is the first line!", "This is the second line!")
.build();