Let /npc text exit the text editor

This commit is contained in:
fullwall 2018-03-09 21:28:21 +08:00
parent 147a3e4c26
commit a897709c34
2 changed files with 1 additions and 2 deletions

View File

@ -8,7 +8,6 @@ import java.util.Random;
import java.util.UUID;
import java.util.concurrent.TimeUnit;
import org.bukkit.Bukkit;
import org.bukkit.GameMode;
import org.bukkit.conversations.Conversation;
import org.bukkit.conversations.ConversationAbandonedEvent;
@ -61,7 +60,6 @@ public class Text extends Trait implements Runnable, Toggleable, Listener, Conve
@Override
public void conversationAbandoned(ConversationAbandonedEvent event) {
Bukkit.dispatchCommand((Player) event.getContext().getForWhom(), "npc text");
}
void edit(int index, String newText) {

View File

@ -63,6 +63,7 @@ public class WanderWaypointProvider implements WaypointProvider {
Messaging.sendTr(sender, Messages.WANDER_WAYPOINTS_RANGE_SET, xrange, yrange);
}
});
} else if (message.startsWith("")) {
}
}
};