Fixed wrong user being targeted by bungee destinations

This commit is contained in:
Sekwah 2020-04-21 19:44:12 +01:00
parent 9528ad6049
commit 4912984cf0

View File

@ -31,7 +31,7 @@ public class EventListener implements Listener {
out.writeUTF("BungeePortal");
out.writeUTF(val[1]);
event.getPlayer().getServer().getInfo().sendData(plugin.channelName, out.toByteArray());
event.getPlayer().sendData(plugin.channelName, out.toByteArray());
}
}
}