Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to write if player drunk potion?

Comments in 'Plugin Development' started by korado531m7, Apr 8, 2016.

  1. korado531m7
    Offline

    korado531m7 Active Member

    Joined:
    Apr 4, 2015
    Posts:
    158
    Minecraft User:
    korado531m7
    I want to make a potion plugin.
    I tried PlayerItemConsumeEvent, but it doesn't work.
    How to write?
    Please tell me.
    Thank you for reading and answering.
  2. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
    you must handle entityEventPacket
  3. korado531m7
    Offline

    korado531m7 Active Member

    Joined:
    Apr 4, 2015
    Posts:
    158
    Minecraft User:
    korado531m7
    How to write...?

Share This Page

Advertisement