mirror of
https://github.com/TotalFreedomMC/TFGuilds.git
synced 2024-12-22 16:05:00 +00:00
better
This commit is contained in:
parent
c9f4f4be22
commit
23b9bc1989
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ public class CreateGuildCommand extends GBase implements CommandExecutor
|
||||||
|
|
||||||
for (String blacklisted : GUtil.BLACKLISTED_NAMES_AND_TAGS)
|
for (String blacklisted : GUtil.BLACKLISTED_NAMES_AND_TAGS)
|
||||||
{
|
{
|
||||||
if (args[0].toLowerCase().contains(blacklisted))
|
if (args[0].equalsIgnoreCase(blacklisted))
|
||||||
{
|
{
|
||||||
if (!plugin.tfmb.isAdmin((Player) sender))
|
if (!plugin.tfmb.isAdmin((Player) sender))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue