Discussion in 'Plugin Development' started by phaed, Mar 29, 2011.
How can I check for pressure plate use with these new events? Can't seem to find this.
It is onBlockInteract()
It gets called on pressure plates, levers, doors, .. so you have to validate that it is a pressure plate
Hmm.. that event no longer exists.
OnPlayerInteract fires for pressure plates.
It uses the 'AssPressure' action (Action.PHYSICAL) for the pressure plate.
Why you guys didn't name it Action.ASS_PRESSURE is beyond me.
Separate names with a comma.