mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-04 18:00:00 +01:00
Send npc command selector text using Citizens messaging
This commit is contained in:
parent
e7d3a95981
commit
b55407c696
@ -76,7 +76,8 @@ public class NPCCommandSelector extends NumericPrompt {
|
||||
for (NPC npc : choices) {
|
||||
text += "\n - " + npc.getId();
|
||||
}
|
||||
return text;
|
||||
Messaging.send((CommandSender) context.getForWhom(), text);
|
||||
return "";
|
||||
}
|
||||
|
||||
public static interface Callback {
|
||||
|
Loading…
Reference in New Issue
Block a user