Fixed path blocks so they are actually craftable.

This commit is contained in:
WayofTime 2016-02-20 15:34:16 -05:00
parent 4a1cf11f6d
commit 37227d42f9
4 changed files with 14 additions and 9 deletions

View file

@ -1,8 +1,8 @@
package WayofTime.bloodmagic.api.recipe;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
@ -256,11 +256,11 @@ public class ShapedBloodOrbRecipe implements IRecipe
{
return false;
}
} else if (target instanceof ArrayList)
} else if (target instanceof List)
{
boolean matched = false;
Iterator<ItemStack> itr = ((ArrayList<ItemStack>) target).iterator();
Iterator<ItemStack> itr = ((List<ItemStack>) target).iterator();
while (itr.hasNext() && !matched)
{
matched = OreDictionary.itemMatches(itr.next(), slot, false);