mirror of
https://github.com/2006-Scape/Parabot-317-API-Minified.git
synced 2026-07-02 16:49:09 +00:00
Merge pull request #107 from Parabot/task/npc-name
[TASK] Added Npc#getName
This commit is contained in:
@@ -33,6 +33,15 @@ public final class Npc extends Character {
|
||||
return new RefClass(this.accessor);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the name of the Npc
|
||||
*
|
||||
* @return String of the Npc name
|
||||
*/
|
||||
public String getName() {
|
||||
return getAccessor().getName();
|
||||
}
|
||||
|
||||
/**
|
||||
* Interacts with this character
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user