In process of correcting kick issues

This commit is contained in:
2024-01-06 19:56:14 -05:00
parent 5b6d214e6f
commit 5363b7c469
2 changed files with 9 additions and 8 deletions
@@ -106,7 +106,8 @@ public class BukkitListener extends VPNExecutor implements Listener {
InetSocketAddress address = event.getPlayer().getAddress();
if (address != null){
InetAddress address1 = address.getAddress();
if (address1 != null && AntiVPN.getInstance().getExecutor().isWhitelisted(address1.getHostAddress())) {
if (address1 != null && AntiVPN.getInstance().getExecutor()
.isWhitelisted(address1.getHostAddress())) {
log("IP is whitelisted: %s",
address1.getHostAddress());
return;