From ff92b118c7ae6b46bed79d345b4e9af4da66f13a Mon Sep 17 00:00:00 2001 From: Zartec Date: Thu, 3 Mar 2016 21:10:45 +0100 Subject: [PATCH] Fixed packets being rewritten for wrong protocols --- README.md | 2 +- .../net/md_5/bungee/protocol/Protocol.java | 12 +++++----- .../bungee/module/TravisCiModuleSource.java | 23 +++++++++++-------- 3 files changed, 20 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 8e758a2c9f..92fd36873a 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ BungeeCord for 1.7/1.8/1.9 ========== -[![Build Status](https://travis-ci.org/hexagonmc/BungeeCord.svg?branch=master)](https://travis-ci.org/hexagonmc/BungeeCord) +[![Build Status](https://travis-ci.org/HexagonMC/BungeeCord.svg?branch=master)](https://travis-ci.org/HexagonMC/BungeeCord) This is a fork of md_5's BungeeCord https://www.spigotmc.org/threads/1-8-1-9-bungeecord.392/ diff --git a/protocol/src/main/java/net/md_5/bungee/protocol/Protocol.java b/protocol/src/main/java/net/md_5/bungee/protocol/Protocol.java index 8bef08d62f..0778de47f5 100644 --- a/protocol/src/main/java/net/md_5/bungee/protocol/Protocol.java +++ b/protocol/src/main/java/net/md_5/bungee/protocol/Protocol.java @@ -191,20 +191,20 @@ protected final void registerPacket(int id, int newId, Class