Add some escape sequences

This commit is contained in:
fullwall 2012-10-29 20:54:28 +08:00
parent 3b1a5bc044
commit e26f3621af

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