From 7326205495aca45a452d4153e4cf887e3945818b Mon Sep 17 00:00:00 2001 From: Matsv Date: Thu, 31 Mar 2016 22:48:20 +0200 Subject: [PATCH] Woops use the same instance --- src/main/java/us/myles/ViaVersion/ViaVersionPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/us/myles/ViaVersion/ViaVersionPlugin.java b/src/main/java/us/myles/ViaVersion/ViaVersionPlugin.java index 3dac25c1f..dccebeade 100644 --- a/src/main/java/us/myles/ViaVersion/ViaVersionPlugin.java +++ b/src/main/java/us/myles/ViaVersion/ViaVersionPlugin.java @@ -80,7 +80,7 @@ public class ViaVersionPlugin extends JavaPlugin implements ViaVersionAPI, ViaVe Bukkit.getPluginManager().registerEvents(new UpdateListener(this), this); getCommand("viaversion").setExecutor(commandHandler = new ViaCommandHandler()); - getCommand("viaversion").setTabCompleter(new ViaCommandHandler()); + getCommand("viaversion").setTabCompleter(commandHandler); } public void gatherProtocolVersion() {