mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-10-31 21:47:10 +00:00
Fixes FS-343
This commit is contained in:
parent
90c276668b
commit
9998392b1a
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user