3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-12-27 08:30:09 +01:00

Merge pull request #307 from Matsv/master

Woops use the same instance
Dieser Commit ist enthalten in:
Myles 2016-03-31 21:49:42 +01:00
Commit 5e0096aa2c

Datei anzeigen

@ -80,7 +80,7 @@ public class ViaVersionPlugin extends JavaPlugin implements ViaVersionAPI, ViaVe
Bukkit.getPluginManager().registerEvents(new UpdateListener(this), this); Bukkit.getPluginManager().registerEvents(new UpdateListener(this), this);
getCommand("viaversion").setExecutor(commandHandler = new ViaCommandHandler()); getCommand("viaversion").setExecutor(commandHandler = new ViaCommandHandler());
getCommand("viaversion").setTabCompleter(new ViaCommandHandler()); getCommand("viaversion").setTabCompleter(commandHandler);
} }
public void gatherProtocolVersion() { public void gatherProtocolVersion() {