mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-02-08 00:11:30 +01:00
Add some escape sequences
This commit is contained in:
parent
e9e2c057dc
commit
f1f5b74f6b
@ -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