Added /lc reload to command list

This commit is contained in:
Jascha Starke 2013-11-06 09:44:40 +01:00
parent dfb289fdd9
commit 010c0434c4

View file

@ -11,6 +11,7 @@ import de.jaschastarke.bukkit.lib.commands.MethodCommand;
import de.jaschastarke.bukkit.lib.commands.annotations.Description; import de.jaschastarke.bukkit.lib.commands.annotations.Description;
import de.jaschastarke.bukkit.lib.commands.annotations.IsCommand; import de.jaschastarke.bukkit.lib.commands.annotations.IsCommand;
import de.jaschastarke.bukkit.lib.commands.annotations.NeedsPermission; import de.jaschastarke.bukkit.lib.commands.annotations.NeedsPermission;
import de.jaschastarke.bukkit.lib.commands.annotations.Usages;
import de.jaschastarke.bukkit.lib.commands.parser.TabCompletion; import de.jaschastarke.bukkit.lib.commands.parser.TabCompletion;
import de.jaschastarke.maven.ArchiveDocComments; import de.jaschastarke.maven.ArchiveDocComments;
import de.jaschastarke.maven.PluginCommand; import de.jaschastarke.maven.PluginCommand;
@ -70,6 +71,7 @@ public class MainCommand extends BukkitCommand implements IHelpDescribed, IMetho
} }
@IsCommand("reload") @IsCommand("reload")
@Usages("")
@Description(value = "command.config.reload", translate = true) @Description(value = "command.config.reload", translate = true)
@NeedsPermission(value={"config"}) @NeedsPermission(value={"config"})
public boolean doReload(final CommandContext context) { public boolean doReload(final CommandContext context) {