I'm working on a big spigot plugin with a menu made with an inventory, and in this inventory, I add wools like choices for the player.
I use the following line to create my ItemStack:
ItemStack i = new ItemStack(Material.WOOL);
But I have the following error since spigot was updated in 1.13:
WOOL cannot be resolved or is not a field
Does someone know why, and how to update through the correct way?