expose Npc#getWorldName
This commit is contained in:
parent
71f52a987b
commit
d02d0cb5e9
1 changed files with 7 additions and 0 deletions
|
@ -81,6 +81,13 @@ public interface Npc extends PropertyHolder {
|
|||
*/
|
||||
World getWorld();
|
||||
|
||||
/**
|
||||
* Gets the name of the world this NPC is in
|
||||
* Unlike {@link Npc#getWorld()} this will never be null
|
||||
* @return The name of the world this NPC is in
|
||||
*/
|
||||
String getWorldName();
|
||||
|
||||
/**
|
||||
* Gets the list of actions for this NPC
|
||||
* @return The {@link List} of {@link InteractionAction}s for this NPC
|
||||
|
|
Loading…
Reference in a new issue