diff options
Diffstat (limited to 'Essentials/src/com/earth2me/essentials/commands/Commandbackup.java')
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandbackup.java | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandbackup.java b/Essentials/src/com/earth2me/essentials/commands/Commandbackup.java index 38644c680..c00a0d435 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandbackup.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandbackup.java @@ -1,20 +1,14 @@ package com.earth2me.essentials.commands; -import com.earth2me.essentials.Backup; import static com.earth2me.essentials.I18n._; -import org.bukkit.Server; +import com.earth2me.essentials.api.IBackup; import org.bukkit.command.CommandSender; public class Commandbackup extends EssentialsCommand { - public Commandbackup() - { - super("backup"); - } - @Override - protected void run(final Server server, final CommandSender sender, final String commandLabel, final String[] args) throws Exception + protected void run(final CommandSender sender, final String commandLabel, final String[] args) throws Exception { final Backup backup = ess.getBackup(); if (backup == null) |