Arrow Location

Discussion in 'Plugin Development' started by CraftingRealm, Sep 4, 2013.

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

    CraftingRealm

    I am using EntityDamageByEntityEvent to get when an arrow hits a zombie. My problem is, I can't seem to be able to get the arrows location. I tried ((Arrow)event.getDamager()).getLocation() but that just seems to return the players location who shot the arrow. Can anybody help me?
     
  2. Offline

    BajanAmerican

    Use ProjectileHitEvent to get the location of a shot arrow.
     
  3. Offline

    CraftingRealm

Thread Status:
Not open for further replies.

Share This Page