BlockFace and arrow

Discussion in 'Plugin Development' started by ewrs, Sep 27, 2018.

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

    ewrs

    Hello. I have a bow that teleports to where the arrow fell. My question is how to make sure that if the arrow falls in such situations (they will be lower), then there was no teleportation. How can I check where it fell? Because if they get there, then the player teleports into blocks ....
     

    Attached Files:

  2. Offline

    KarimAKL

  3. Offline

    ewrs

  4. Offline

    timtower Administrator Administrator Moderator

    I do not appreciate random tags. I don't know anything about this subject, didn't look into it either.
    If I wanted to help then I would have done that.
     
  5. Offline

    KarimAKL

    @ewrs Not sure how but maybe you could get the location of the arrow on the ProjectileHitEvent and then check for blocks around that location?
    Just trying to help. :7
     
  6. Offline

    ewrs

    How?
     
Thread Status:
Not open for further replies.

Share This Page