How can I check for pressure plate use with these new events?

Discussion in 'Plugin Development' started by phaed, Mar 29, 2011.

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

    phaed

    How can I check for pressure plate use with these new events? Can't seem to find this.
     
  2. Offline

    Deathly

    It is onBlockInteract()

    It gets called on pressure plates, levers, doors, .. so you have to validate that it is a pressure plate
     
  3. Offline

    phaed

    Hm
    Hmm.. that event no longer exists.
     
  4. Offline

    Afforess

    OnPlayerInteract fires for pressure plates.
     
  5. Offline

    Grum Bukkit Team Member

    It uses the 'AssPressure' action (Action.PHYSICAL) for the pressure plate.
     
    1mpre55 and Ne0nx3r0 like this.
  6. Offline

    phaed

    Thx
     
  7. Offline

    willurd

    Why you guys didn't name it Action.ASS_PRESSURE is beyond me.
     
    1mpre55 and Ne0nx3r0 like this.
Thread Status:
Not open for further replies.

Share This Page