=Config file bug fixes

This commit is contained in:
Alex
2019-08-09 23:23:43 -04:00
parent 81d3bd13b0
commit 2c486d7da1
12 changed files with 43 additions and 50 deletions
@@ -1,6 +1,5 @@
package commands.characters;
import commands.guildrole.*;
import core.Command;
import core.LocStrings;
import core.SubCommandFramework;
@@ -12,7 +11,7 @@ public class CommandCharacterMain extends Command
public CommandCharacterMain(KittyRole level, KittyRating rating)
{
super(level, rating);
framework.addCommand("add", new SubCommandAdd(KittyRole.General, KittyRating.Safe));
framework.addCommand("create", new SubCommandCreate(KittyRole.General, KittyRating.Safe));
framework.addCommand("editbio", new SubCommandEditBio(KittyRole.General, KittyRating.Safe));
framework.addCommand("editname", new SubCommandEditName(KittyRole.General, KittyRating.Safe));
framework.addCommand("editurl", new SubCommandEditURL(KittyRole.General, KittyRating.Safe));
@@ -23,6 +23,7 @@ public class SubCommandCreate extends SubCommand
{
return new SubCommandFormattable (LocStrings.stub("CharacterCreateNullInfo"));
}
//user name bio url
if(CharacterManager.instance.addCharacter(user, info[0], info[1], info[2]))
{
return new SubCommandFormattable (LocStrings.stub("CharacterCreateSuccess"));