mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-01-06 00:18:36 +01:00
Add some escape sequences
This commit is contained in:
parent
3b1a5bc044
commit
e26f3621af
@ -47,8 +47,8 @@ public class TriggerEditPrompt extends StringPrompt {
|
||||
|
||||
public static Conversation start(Player player, WaypointEditor editor) {
|
||||
final Conversation conversation = new ConversationFactory(CitizensAPI.getPlugin())
|
||||
.withLocalEcho(false).withEscapeSequence("exit").withModality(false)
|
||||
.withFirstPrompt(new TriggerEditPrompt(editor)).buildConversation(player);
|
||||
.withLocalEcho(false).withEscapeSequence("exit").withEscapeSequence("/npc path")
|
||||
.withModality(false).withFirstPrompt(new TriggerEditPrompt(editor)).buildConversation(player);
|
||||
conversation.begin();
|
||||
return conversation;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user