forked from 2009Scape/Server
Dialogue interpreter brrrr
This commit is contained in:
parent
b445a77810
commit
4b800645b3
1 changed files with 1 additions and 0 deletions
|
|
@ -565,6 +565,7 @@ object ContentAPI {
|
|||
*/
|
||||
@JvmStatic
|
||||
fun openDialogue(player: Player, dialogue: Any, vararg args: Any) {
|
||||
player.dialogueInterpreter.close()
|
||||
when (dialogue) {
|
||||
is Int -> player.dialogueInterpreter.open(dialogue, *args)
|
||||
is DialogueFile -> player.dialogueInterpreter.open(dialogue, *args)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue