Remove deprecated method usage

This commit is contained in:
Gabriele C
2016-05-04 17:35:04 +02:00
parent 5ceabe2146
commit f38d3b4545
2 changed files with 10 additions and 5 deletions
@@ -99,7 +99,7 @@ public class NewAPI {
* @return true if the player is an npc
*/
public boolean isNPC(Player player) {
return Utils.isNPC(player);
return plugin.getPluginHooks().isNpc(player);
}
/**