Allow all ingedients of recipes into the cauldron

This commit is contained in:
Sn0wStorm
2015-03-16 16:31:45 +01:00
parent b8e0f1f38b
commit 82837e1977
3 changed files with 25 additions and 3 deletions
+3 -1
View File
@@ -1,8 +1,10 @@
package com.dre.brewery;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Map;
import java.util.HashMap;
import java.util.Set;
import org.bukkit.configuration.ConfigurationSection;
import org.bukkit.inventory.ItemStack;
@@ -11,7 +13,7 @@ import org.bukkit.potion.PotionEffectType;
import org.bukkit.inventory.meta.PotionMeta;
public class BIngredients {
public static ArrayList<Material> possibleIngredients = new ArrayList<Material>();
public static Set<Material> possibleIngredients = new HashSet<Material>();
public static ArrayList<BRecipe> recipes = new ArrayList<BRecipe>();
public static Map<Material, String> cookedNames = new HashMap<Material, String>();
private static int lastId = 0;