Got Sponge support working, need to ensure other plugins are still working tho

This commit is contained in:
2025-05-28 15:42:43 -04:00
parent 7247341693
commit 68a2acce00
9 changed files with 285 additions and 26 deletions
@@ -54,7 +54,10 @@ public abstract class APIPlayer {
CheckResult cachedResult = checkResultCache.getIfPresent(ip.getHostAddress());
if(cachedResult != null) {
return cachedResult;
if(cachedResult.response().getIp().equals(ip.getHostAddress())) {
AntiVPN.getInstance().getExecutor().log(Level.FINE, "Cached result for " + ip.getHostAddress() + " is " + cachedResult.resultType());
return cachedResult;
}
}
AntiVPN.getInstance().getExecutor().checkIp(ip.getHostAddress())