New deprecated methods?

Discussion in 'Plugin Development' started by kreashenz, Sep 16, 2013.

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

    kreashenz

    These methods are deprecated but I can't find a replacement for them.
    [​IMG]
    What's going on? I'm pretty sure every .getId() method is now deprecated but I can't find any replacements.
    Also, player.playEffect(Location, Effect, int) is now deprecated, and instead replaced with player.playEffect(Location, Effect, T). How am I meant to use that, now? (player.getWorld().playEffect(Location, Effect, int) works, by the way).

    [EDIT] I know that some deprecated methods can still be used, and I know you don't have to suppress warnings, but it's kind of annoying me (OCD! Hooray!) that I have the little warning sign next to my classes.

    Can anyone please explain these to me? Thanks!
     
  2. Offline

    lycano

    Minecrell likes this.
  3. Offline

    kreashenz

    I was making the bleed effect. lycano
     
  4. Offline

    lycano

    kreashenz i suggest you keep an eye on that when its either RB or DEV build. As long as its only marked as deprecated i would not worry as there will be most likely a replacement or a different way to get what someone needs.
     
Thread Status:
Not open for further replies.

Share This Page