Solved Preventing players from wearing off there armor. HELP!

Discussion in 'Plugin Development' started by zakkinu2, Sep 16, 2013.

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

    zakkinu2

    I need a way to prevent players from removing there armor off them. I have it so they cant drop items from there inventory with the event "PlayerDropItemEvent" but that still allows them to remove there armor off them! I need help cause im trying to make my first minigame ever and i dont want people to take there armor off because then the other players wont know what team there on! HELP!
     
  2. Offline

    metalhedd

    listen for InventoryClickEvent, and cancel it if they're removing their armor.
     
  3. Offline

    zakkinu2

    metalhedd Thanks for the fast reply and It works thanks!
     
Thread Status:
Not open for further replies.

Share This Page