Woops use the same instance

This commit is contained in:
Matsv 2016-03-31 22:48:20 +02:00
parent a8212db7f2
commit 7326205495

View File

@ -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() {