Send npc command selector text using Citizens messaging

This commit is contained in:
fullwall 2021-11-18 22:47:09 +08:00
parent e7d3a95981
commit b55407c696

View File

@ -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 {