mirror of
https://github.com/TuxCoding/FastLogin.git
synced 2025-07-30 02:37:34 +02:00
Merge pull request #6 from NorbiPeti/patch-1
Fixed issues with host lookup from hosts file
This commit is contained in:
@ -51,7 +51,7 @@ public class BukkitJoinListener implements Listener {
|
|||||||
public void run() {
|
public void run() {
|
||||||
if (player.isOnline()) {
|
if (player.isOnline()) {
|
||||||
//remove the bungeecord identifier
|
//remove the bungeecord identifier
|
||||||
String id = '/' + player.getAddress().getHostString() + ':' + player.getAddress().getPort();
|
String id = '/' + player.getAddress().getAddress().getHostAddress() + ':' + player.getAddress().getPort();
|
||||||
PlayerSession session = plugin.getSessions().get(id);
|
PlayerSession session = plugin.getSessions().get(id);
|
||||||
|
|
||||||
//blacklist this target player for BungeeCord Id brute force attacks
|
//blacklist this target player for BungeeCord Id brute force attacks
|
||||||
|
Reference in New Issue
Block a user