[PREV COMMIT] If we set a custom channel, maybe listen at it :')

This commit is contained in:
Xephi 2015-12-10 18:36:31 +01:00
parent 3975e65655
commit 75084e62ec

View File

@ -46,7 +46,7 @@ public class BungeeCordMessage implements PluginMessageListener {
// Put the IP (only the ip not the port) in the hashMap // Put the IP (only the ip not the port) in the hashMap
plugin.realIp.put(player.getName().toLowerCase(), ip); plugin.realIp.put(player.getName().toLowerCase(), ip);
} }
if (subChannel.equals("Forward")) if (subChannel.equals("Forward") || subChannel.equalsIgnoreCase("AuthMe"))
{ {
short len = in.readShort(); short len = in.readShort();
byte[] data = new byte[len]; byte[] data = new byte[len];