Check if a window pop up opens in onPlayerInteract

Discussion in 'Plugin Development' started by niccholaspage, May 24, 2011.

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

    niccholaspage

    So I have this Custom food plugin that is almost out, but I need to stop you from eating food when right clicking a chest, furnace, workbench, and some other blocks. I was thinking about just checking if a block was clicked and if it was one of those, then to return, but I was wondering if there was a better way of doing it.
     
  2. Offline

    Crash

    As far as I know they haven't done any inventory / window events yet.
     
  3. Offline

    niccholaspage

    So I guess I will just make a blacklist for the specific blocks them.
     
  4. Offline

    narrowtux

  5. Offline

    niccholaspage

    Will look into it.
     
Thread Status:
Not open for further replies.

Share This Page