9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-26 18:49:06 +00:00

Suggest always unless its a category

This commit is contained in:
cyberpwn
2021-08-28 22:42:53 -04:00
parent ae763ae25d
commit c4e3c4b34f

View File

@@ -490,8 +490,8 @@ public class VolmitSender implements CommandSender {
String onClick;
if (i.isNode()) {
if (i.getNode().getParameters().isEmpty()) {
usage += "There are no parameters. Click to run.";
onClick = "run_command";
usage += "There are no parameters. Click to type command.";
onClick = "suggest_command";
} else {
usage += "Hover over all of the parameters to learn more.";
onClick = "suggest_command";