mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-26 17:05:01 +00:00
Fixes FS-343
This commit is contained in:
parent
a3d7fe19a0
commit
2e41414358
@ -143,13 +143,10 @@ public class Command_plugincontrol extends FreedomCommand
|
||||
{
|
||||
return Arrays.asList("enable", "disable", "reload", "list");
|
||||
}
|
||||
else if (args.length == 2)
|
||||
{
|
||||
if (!args[0].equals("list"))
|
||||
else if (args.length == 2 && !args[0].equalsIgnoreCase("list"))
|
||||
{
|
||||
return getAllPluginNames();
|
||||
}
|
||||
}
|
||||
|
||||
return Collections.emptyList();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user