Problem/Bug getPlayer(String) Not Used

Discussion in 'Bukkit Help' started by MrWaffleman, Jun 23, 2015.

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

    MrWaffleman

    Code:
    Player target = Bukkit.getServer().getPlayer(args[0]);
    My code is shown above, I know that getPlayer(String) is not used anymore, but is there any replacement for it?

    Heal.java (Full Code): http://pastebin.com/k1n9JYXr
     
  2. Offline

    oceantheskatr

    If it's deprecated it's fine, however you could try getPlayerExact(args[0]); and see if that's any better.
     
Thread Status:
Not open for further replies.

Share This Page