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