mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-01 22:16:08 +00:00
Start adding unit tests via MockBukkit
This commit is contained in:
1 parent
c31229c19e
commit
eddae1051c
15 files changed
+147
-28
No files matched your search
@@ -9,7 +9,6 @@ import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.logging.Level;
|
||||
|
||||
/**
|
||||
* Bukkit executor that implements and executes {@link CommandBase}s
|
||||
@@ -38,7 +37,6 @@ public class BukkitCommand implements CommandExecutor, TabExecutor {
|
||||
*/
|
||||
public void register(@NotNull PluginCommand pluginCommand) {
|
||||
try {
|
||||
plugin.getLoggingAdapter().log(Level.INFO, "Registering executor for command " + pluginCommand.getName() + "...");
|
||||
pluginCommand.setExecutor(this);
|
||||
pluginCommand.setTabCompleter(this);
|
||||
pluginCommand.setPermission(command.permission);
|
||||
|
||||
Reference in new issue
Block a user