Merge pull request #307 from Matsv/master

Woops use the same instance
This commit is contained in:
Myles 2016-03-31 21:49:42 +01:00
commit 5e0096aa2c

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