New system for recycler registry, juste wool and clay not work, i d'ont why this not work :/

This commit is contained in:
MrBretzel 2016-03-28 16:29:26 +02:00
parent e4fa8849fb
commit a1335f118a
2 changed files with 1089 additions and 864 deletions

View file

@ -12,6 +12,17 @@ public class ScrapboxList
public static void addItemStackToList(ItemStack stack)
{
if (!hasItems(stack))
stacks.add(stack);
}
private static boolean hasItems(ItemStack stack)
{
for (ItemStack s : stacks)
{
if (stack.getItem().getItemStackDisplayName(stack).equals(s.getItem().getItemStackDisplayName(stack)))
return true;
}
return false;
}
}

File diff suppressed because it is too large Load diff