2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2024-11-23 04:28:01 +00:00

Add PlayerProxy for Plugin Messaging

This commit is contained in:
Alw3ys 2017-06-17 17:08:58 +02:00
parent c94d5aeb4e
commit 31cec3c994

View File

@ -234,6 +234,12 @@ public class RedisBungeeListener implements Listener {
out.writeUTF("Proxy");
out.writeUTF(RedisBungee.getConfiguration().getServerId());
break;
case "PlayerProxy":
String username = in.readUTF();
out.writeUTF("PlayerProxy");
out.writeUTF(username);
out.writeUTF(RedisBungee.getApi().getProxy(plugin.getUuidTranslator().getTranslatedUuid(username, true)));
break;
default:
return;
}