Checking for player armor

Discussion in 'Plugin Development' started by pairofsnipers, Feb 24, 2015.

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

    pairofsnipers

    Hi, I have been trying for a few hours now on how to get this plugin to work and I can't seem to figure it out. Is there any way to check for the armor that a player is wearing (For instance if they are wearing only leather boots)?
     
  2. Offline

    Samthelord1

    p.getInventory().getBoots()
     
  3. Offline

    pairofsnipers

    rip my brain. I was trying to do it through an inventory and not a player. Thank you very much :)
     
Thread Status:
Not open for further replies.

Share This Page