spectated player gets hit with own arrow #5


  • New
  • Defect
Open
Assigned to chipmunk9998
  • _ForgeUser8552549 created this issue Jan 3, 2013

    What steps will reproduce the problem?
    1.  Have a player be spectated
    2.  Spectated player shoots an arrow pointing about 45 degrees downward
    3.

    What is the expected output? What do you see instead?
    Expected is the arrow shoots and lands on the ground.  Instead arrow damages spectated player

    What version of the product are you using?
    v1.9.2 and previous versions

    Do you have an error log of what happened?
    There is no error in the console.

    Please provide any additional information below.
    - If pvp is set to false in the world, the arrow has no effect.
    - I'm using pex permissions.  I've attempted negating all damage(-modifyworld.damage.*) from both the spectator and spectated player with pvp true and the arrow damages the spectated player regardless.  No message in pex debug.
    - Love your plugin.  I'm using it for ultra hardcore tournaments where there is no health regen and this is turning into a problem.  Thanks!

  • _ForgeUser8552549 added the tags New Defect Jan 3, 2013
  • Chipmunk9998 posted a comment Jan 5, 2013

    I thought I had fixed this in the latest version, but I guess a bukkit update must have broken it. I'll try testing it and see what I can do!


    Edited Jan 5, 2013
  • _ForgeUser8552549 posted a comment Jan 7, 2013

    Awesome! Thanks for looking. I was browsing your code and it almost seems like the spectating player needs to be moved behind the spectated player based off the pointed direction. But I may not know what i'm talking about even. lol Jack

  • Chipmunk9998 posted a comment Jan 14, 2013

    @Jackalmen: Go

    Well, the way I tried fixing it was to teleport the arrow slightly in front of the player when they shot it. It was working perfectly, but in 1.3 it got completely broken, and it hasn't worked 100% since...


To post a comment, please login or register a new account.