Fixed path blocks so they are actually craftable.
This commit is contained in:
parent
4a1cf11f6d
commit
37227d42f9
4 changed files with 14 additions and 9 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue