Add some escape sequences

This commit is contained in:
fullwall 2012-10-29 20:54:28 +08:00
parent e9e2c057dc
commit f1f5b74f6b

View File

@ -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;
}