Player references reset on respawn?

Discussion in 'Plugin Development' started by LRFLEW, Jan 26, 2011.

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

    LRFLEW

    While beta-testing a new plugin of mine, while "it" (it being a variable that holds a player), I fell into lava and died. When I respawned, I didn't have the permissions of "it" and it told me someone with the exact same username was it. Do Player references reset when a player dies? Is there a onPlayerDeath() that I can't find?
     
  2. Offline

    NathanWolf

    onPlayerDeath was just committed to Bukkit, last night. Hooray!
     
  3. Offline

    LRFLEW

    Yay! [​IMG] I was wondering if anybody knew about the player references mostly, but thanks.
     
Thread Status:
Not open for further replies.

Share This Page