Development Assistance [1.8] InventoryOpenEvent don't work for the player's own Inventory

Discussion in 'Plugin Help/Development/Requests' started by BlendCrafter, Mar 14, 2017.

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

    BlendCrafter

    Hello there,
    I'm making my own anticheat-plugin but for my "Anti-InvWalk"-Module the InventoryOpenEvent worked only for chests, etc. Can someone help me to check if the player opens his own invenory?
    (Sorry, if my english is bad, I'm german :p)

    BlendCrafter
     
  2. Offline

    MrMinecraft15

    You could check the inventory in the PlayerMoveEvent.
    But keep in mind, the the player might move (e.g. caused by damage) without own interaction.
     
Thread Status:
Not open for further replies.

Share This Page