Checking For Colored Wool

Discussion in 'Plugin Development' started by Shad, Jun 7, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    Shad

    I've been having a lot of problems with checking if a player has colored wool. Here's the relevant code I'm having trouble with:

    Code:
    Wool wool = new Wool(DyeColor.GRAY);
    final ItemStack copperore = wool.toItemStack();
    smithingMaterialsDataa.put(3, copperore);
     
    if(playerinv.contains(smithingMaterialsDataa.get(clickeditemdata))){
     
    }
     
    
    I tested this code with just regular wool and it was able to see it, so I don't think my code is wrong in that regard. I just can't seem to be able to get a colored wool ItemStack.

    Any help?
     
    joehot2000 likes this.
  2. Offline

    Shad

    Hi, I'm still looking for help on this.
     
Thread Status:
Not open for further replies.

Share This Page