Time limit on armor

Discussion in 'Plugin Development' started by zombieman1000, May 1, 2013.

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

    zombieman1000

    In my plugin when you get hit you get armor but.... i would like the armour gone in 50 secound's
    what would be the code to do this

    thx
     
  2. Offline

    Compressions

    zombieman1000 Create a Runnable and in the body write:
    Code:java
    1. player.getInventory().setArmorContents(null);
     
Thread Status:
Not open for further replies.

Share This Page