=Config file bug fixes
This commit is contained in:
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user