mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-12-25 02:27:41 +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) {
|
for (NPC npc : choices) {
|
||||||
text += "\n - " + npc.getId();
|
text += "\n - " + npc.getId();
|
||||||
}
|
}
|
||||||
return text;
|
Messaging.send((CommandSender) context.getForWhom(), text);
|
||||||
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
public static interface Callback {
|
public static interface Callback {
|
||||||
|
Loading…
Reference in New Issue
Block a user