diff --git a/pom.xml b/pom.xml
index 775c588..6a13d2b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
com.asintoto
Basic
- 1.0.24
+ 1.0.25
jar
Basic
diff --git a/src/main/java/com/asintoto/basic/commands/BasicCommand.java b/src/main/java/com/asintoto/basic/commands/BasicCommand.java
index df786f5..1fd7daa 100644
--- a/src/main/java/com/asintoto/basic/commands/BasicCommand.java
+++ b/src/main/java/com/asintoto/basic/commands/BasicCommand.java
@@ -1,7 +1,5 @@
package com.asintoto.basic.commands;
-import com.asintoto.basic.Basic;
-import com.asintoto.basic.interfaces.RegisterCommand;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
@@ -19,8 +17,6 @@ public abstract class BasicCommand implements CommandExecutor, TabCompleter {
public BasicCommand(String label) {
this.label = label;
-
- registerCommand();
}
@Override
@@ -35,16 +31,9 @@ public final List onTabComplete(CommandSender sender, Command command, S
}
public void onCommand(CommandSender sender, String[] args) {
- sender.sendMessage("comando");
}
public List onTabComplete(CommandSender sender, String[] args) {
return NO_COMPLETE;
}
-
- private void registerCommand() {
- if(this.getClass().isAnnotationPresent(RegisterCommand.class)) {
- Basic.getPlugin().getCommand(label).setExecutor(this);
- }
- }
}