Double death events

Discussion in 'Plugin Development' started by MrSnare, Jul 17, 2014.

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

    MrSnare

    I recently updated a plugin to 1.7.10 and now when a player is killed, two death events are created and fired for them. It isn't the same event being called twice because the event objects have different IDs.

    What could be causing this? I am sure Im not creating death events in my code.
     
  2. Offline

    _LB

    Strangely, a player can be killed 'again' while still on the death screen. I'm not sure how it works but it could be your issue.
     
  3. Offline

    jthort

    I had this before, it ended up being my imports being screwed up, causing the code in the death event being executed twice. So check them to make sure nothing is imported twice in another class
     
    MrSnare likes this.
  4. Offline

    MrSnare

    I was changing imports last night. That could be the issue. I will try it later!

    I can't seem to find any double imports. Any other information you can give on this?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
    jthort likes this.
Thread Status:
Not open for further replies.

Share This Page