Stop player from opening horse GUI

Discussion in 'Plugin Development' started by Ethan Rocks 365, Aug 16, 2017.

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

    Ethan Rocks 365

    Im trying to stop players from opening the horse inventory(with the saddle and armor slots)
    how would I do this?
     
  2. Offline

    Calebizzthaman

    Wouldn't you have a InventoryOpenEvent and see if it's a horse's inventory being opened and then cancel it? Haven't tested it.
     
  3. Offline

    Ethan Rocks 365

    ill try this and let you know
     
  4. Offline

    timtower Administrator Administrator Moderator

Thread Status:
Not open for further replies.

Share This Page