Ask and 70.93 seconds later you shall receive - cross server message channel.

This commit is contained in:
md_5 2013-02-07 17:23:49 +11:00
parent 7e39cb8da6
commit f1f68ab85b

View File

@ -481,6 +481,14 @@ public class UserConnection extends GenericConnection implements ProxiedPlayer
getServer().sendData("BungeeCord", b.toByteArray());
}
if (subChannel.equals("Message"))
{
ProxiedPlayer target = ProxyServer.getInstance().getPlayer(in.readUTF());
if (target != null)
{
target.sendMessage(in.readUTF());
}
}
continue;
}
}