Player dead event, help!

Discussion in 'Plugin Development' started by zwap1233, May 12, 2012.

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

    zwap1233

    Hallo i'm making a plugin. in my plugin you start a game when you start this your invetory, location, gamemode, health, hunger, xp and level will be saved when you die this must be restored but this doesn't happen.
    can you guys help me?

    this is my code:
    http://pastebin.com/nRYDaPNW
     
  2. The class doesn't implement Listener (and I'll bet you don't register it in onEnable()).
     
  3. Offline

    zwap1233

    oops my mistake thank you!
     
  4. fail. utter fail. [pig]
     
  5. Offline

    Iron_Crystal

    Don't discourage others just because they made a simple mistake. I'm sure you have made mistakes in your plugins, especially when you first started. Don't tell me you've never had to ask for help in the forums.
     
    colony88 and Taco like this.
  6. Offline

    Taco

    No need to be rude. We all make mistakes.
     
  7. Offline

    Kanlaki101

    No reason to even reply to a thread if you don't have anything useful to state.
    We've all made that mistake. We're not the first, not the last.
     
  8. I was simply stating it was a simple mistake, and i thought it was funny because i have indeed done this mistake many MANY times. I wasnt trying to be rude or discourage him, i was just joking around :p

    (sorry :'()
     
Thread Status:
Not open for further replies.

Share This Page