Fixes FS-343

This commit is contained in:
Video 2022-11-04 21:30:28 -06:00
parent a3d7fe19a0
commit 2e41414358

View File

@ -143,12 +143,9 @@ public class Command_plugincontrol extends FreedomCommand
{
return Arrays.asList("enable", "disable", "reload", "list");
}
else if (args.length == 2)
else if (args.length == 2 && !args[0].equalsIgnoreCase("list"))
{
if (!args[0].equals("list"))
{
return getAllPluginNames();
}
return getAllPluginNames();
}
return Collections.emptyList();