mirror of
https://github.com/TotalFreedomMC/TFGuilds.git
synced 2024-12-23 00:15:03 +00:00
this time
This commit is contained in:
parent
8b79b930e2
commit
d4ea168816
1 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@ public class CreateGuildCommand extends GBase implements CommandExecutor
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (args[0].length() > 24)
|
if (args[0].toLowerCase().length() > 24)
|
||||||
{
|
{
|
||||||
player.sendMessage(ChatColor.RED + "Guild name must not be over 24 characters.");
|
player.sendMessage(ChatColor.RED + "Guild name must not be over 24 characters.");
|
||||||
return true;
|
return true;
|
||||||
|
@ -76,7 +76,7 @@ public class CreateGuildCommand extends GBase implements CommandExecutor
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
GUtil.createGuild(player, args[0]);
|
GUtil.createGuild(player, args[0].toLowerCase());
|
||||||
Bukkit.broadcastMessage(GUtil.color("&a" + player.getName() + " has created guild &a&l" + args[0]));
|
Bukkit.broadcastMessage(GUtil.color("&a" + player.getName() + " has created guild &a&l" + args[0]));
|
||||||
player.sendMessage(ChatColor.GREEN + "Successfully created a guild named " + args[0]);
|
player.sendMessage(ChatColor.GREEN + "Successfully created a guild named " + args[0]);
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue