Fixed wrong user being targeted by bungee destinations
This commit is contained in:
parent
9528ad6049
commit
4912984cf0
|
@ -31,7 +31,7 @@ public class EventListener implements Listener {
|
||||||
out.writeUTF("BungeePortal");
|
out.writeUTF("BungeePortal");
|
||||||
out.writeUTF(val[1]);
|
out.writeUTF(val[1]);
|
||||||
|
|
||||||
event.getPlayer().getServer().getInfo().sendData(plugin.channelName, out.toByteArray());
|
event.getPlayer().sendData(plugin.channelName, out.toByteArray());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue