public static ItemStack[] OreMelterAccept;
private static int arraySlot = 0;
public static addOreMelterRecipe(ItemStack itemStack) {
OreMelterAccept[arraySlot] = itemStack;
arraySlot++;
}
Compiler says that the code is ok but everytime I try to execute it... it gives me an error. What am I doing wrong?