diff --git a/src/main/java/fr/communaywen/core/listeners/VpnListener.java b/src/main/java/fr/communaywen/core/listeners/VpnListener.java index 480b7068..44d4e582 100644 --- a/src/main/java/fr/communaywen/core/listeners/VpnListener.java +++ b/src/main/java/fr/communaywen/core/listeners/VpnListener.java @@ -33,7 +33,8 @@ public void OnPlayerJoin(PlayerJoinEvent event) { return; } - String ip = Objects.requireNonNull(player.getAddress()).toString(); + String ip = player.getAddress().getAddress().getHostAddress(); + new BukkitRunnable() { @Override