Advertisement
Guest User

Untitled

a guest
Feb 29th, 2016
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.16 KB | None | 0 0
  1. int ids1[] = OreDictionary.getOreIDs(stack1);
  2. int ids2[] = OreDictionary.getOreIDs(stack2);
  3. for(int id : ids1){
  4.     if(Ints.contains(ids2, id)){
  5.         return true;
  6.     }
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement