mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-10-02 01:27:28 +02:00
Making /help <string> match the plugin name.
This commit is contained in:
parent
bb6b2c9374
commit
b85a5e9e0d
@ -120,7 +120,8 @@ public class Commandhelp extends EssentialsCommand
|
||||
for (Entry<String, HashMap<String, String>> k : cmds.entrySet())
|
||||
{
|
||||
if ((!match.equalsIgnoreCase("")) && (!k.getKey().toLowerCase().contains(match))
|
||||
&& (!k.getValue().get("description").toLowerCase().contains(match)))
|
||||
&& (!k.getValue().get("description").toLowerCase().contains(match))
|
||||
&& (!p.getDescription().getName().contains(match)))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user