From 12ee68a3156e0c802a34076aa01d1bba6553e709 Mon Sep 17 00:00:00 2001 From: md_5 Date: Thu, 19 Sep 2013 17:41:01 +1000 Subject: [PATCH] Update to 1.6.3 --- protocol/src/main/java/net/md_5/bungee/protocol/Vanilla.java | 4 ++-- .../main/java/net/md_5/bungee/connection/UpstreamBridge.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/protocol/src/main/java/net/md_5/bungee/protocol/Vanilla.java b/protocol/src/main/java/net/md_5/bungee/protocol/Vanilla.java index 8d5ef719..89c7fcda 100644 --- a/protocol/src/main/java/net/md_5/bungee/protocol/Vanilla.java +++ b/protocol/src/main/java/net/md_5/bungee/protocol/Vanilla.java @@ -30,8 +30,8 @@ import net.md_5.bungee.protocol.skip.PacketReader; public class Vanilla implements Protocol { - public static final byte PROTOCOL_VERSION = 74; - public static final String GAME_VERSION = "1.6.2"; + public static final byte PROTOCOL_VERSION = 77; + public static final String GAME_VERSION = "1.6.3"; @Getter private static final Vanilla instance = new Vanilla(); /*========================================================================*/ diff --git a/proxy/src/main/java/net/md_5/bungee/connection/UpstreamBridge.java b/proxy/src/main/java/net/md_5/bungee/connection/UpstreamBridge.java index b69748e0..d2e5afef 100644 --- a/proxy/src/main/java/net/md_5/bungee/connection/UpstreamBridge.java +++ b/proxy/src/main/java/net/md_5/bungee/connection/UpstreamBridge.java @@ -98,7 +98,7 @@ public class UpstreamBridge extends PacketHandler if ( tabComplete.getCursor().startsWith( "/" ) ) { List results = new ArrayList<>(); - bungee.getPluginManager().dispatchCommand( con, tabComplete.getCursor().substring( 1, tabComplete.getCursor().length() ), results ); + bungee.getPluginManager().dispatchCommand( con, tabComplete.getCursor().substring( 1 ), results ); if ( !results.isEmpty() ) {