Doors and onBlockInteract

Discussion in 'Plugin Development' started by flyslasher, Feb 25, 2011.

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

    flyslasher

    when using onBlockInteract, event.getBlock() for doors returns air, or 0 for their Id. Why is it doing that?

    Please Help ^^

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 10, 2016
  2. Offline

    Saturisk

    Explain what you mean, when you run the plugins and open the doors it turns to air?
    Could you give a code example of what your doing
     
  3. Offline

    Edward Hand

    Wrong thread?
    (And yes)
     
  4. Offline

    Saturisk

    Oh darn it XD Sorry didn't mean to post that here didn't even know how that happened.
     
  5. Offline

    flyslasher

    When i interact with a door, the event gets triggered but when i use
    It will print 0 out rather than what ever the doors ID is?
     
Thread Status:
Not open for further replies.

Share This Page