Skip to content

Commit

Permalink
Merge pull request minecrafter#48 from Alw3ys/master
Browse files Browse the repository at this point in the history
Add PlayerProxy for Plugin Messaging
  • Loading branch information
chnkr authored Jan 24, 2018
2 parents c94d5ae + 31cec3c commit 112fc15
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,12 @@ public void run() {
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;
}
Expand Down

0 comments on commit 112fc15

Please sign in to comment.