mirror of
https://github.com/funkemunky/AntiVPN.git
synced 2026-06-15 16:10:40 +00:00
Fixing error with inserted type mismatch in H2 and MySQL
This commit is contained in:
@@ -57,6 +57,7 @@ public class BungeeListener extends VPNExecutor implements Listener {
|
||||
if(result.isSuccess()) {
|
||||
// If the countryList() size is zero, no need to check.
|
||||
// Running country check first
|
||||
AntiVPN.getInstance().getExecutor().log("Checking UUID for whitelist: %s", event.getPlayer().getUniqueId().toString());
|
||||
if(AntiVPN.getInstance().getVpnConfig().countryList().size() > 0
|
||||
&& !(AntiVPN.getInstance().getExecutor().isWhitelisted(event.getPlayer().getUniqueId()) //Is exempt
|
||||
//Or has a name that starts with a certain prefix. This is for Bedrock exempting.
|
||||
|
||||
Reference in New Issue
Block a user