added inqueue placeholder

This commit is contained in:
ajgeiss0702
2020-06-18 09:21:16 -07:00
parent d17fe7aad9
commit 29be9ae60b
3 changed files with 23 additions and 3 deletions
+4 -3
View File
@@ -198,9 +198,10 @@ public class Main extends Plugin implements Listener {
}
BungeeUtils.sendCustomData(player, "positionof", pos);
}
/*if(subchannel.equals("whitelist")) {
String data = in.readUTF();
}*/
if(subchannel.equals("inqueue")) {
Server server = man.findPlayerInQueue(player);
BungeeUtils.sendCustomData(player, "inqueue", (server != null)+"");
}
} catch (IOException e1) {
getLogger().warning("An error occured while reading data from spigot side:");