[Unsolved] [Help] Lost Weapons EntityDamageEvent

Discussion in 'Plugin Development' started by Aza24, Jan 20, 2012.

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

    Aza24

    When cancelling the EntityDamageEvent the player who caused the damage loses the weapon he used. Does anyone know how to fix this?
     
  2. Offline

    iiMaXii

    You mean that it looses durability even if you cancel the event? I have experienced the same thing with the latest RB for 1.0 (if I remember correctly). Anyway if I loose a sword due to this bug, it magically gives my sword back when I'm modifying my inventory.

    I think this is because the client doesn't realize that the event was cancelled, and therefore still decrease the weapon durability.
     
  3. Offline

    Aza24

    I don't think that's quite the reason because it doesn't break, it just disappears and its with a new, undamaged sword.
     
  4. Offline

    Aza24

    Anyone else?
     
  5. Offline

    nisovin

    Canceling the damage event doesn't cause this. This is being caused by something else.
     
Thread Status:
Not open for further replies.

Share This Page