mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-15 05:41:51 +08:00
Removed setDefaultUseCaches(false)
Calling this method causes SpongeForge to crash later https://forums.spongepowered.org/t/spongeforge-crashes-in-odd-circumstances/34699/4 Affects issues: - Fixed #1296, #1291, #1292
This commit is contained in:
parent
6d90752f5d
commit
78b3239a63
@ -75,7 +75,6 @@ public class IP2CGeolocator implements Geolocator {
|
||||
HttpURLConnection connection = null;
|
||||
try {
|
||||
connection = (HttpURLConnection) new URL("http://ip2c.org/" + address).openConnection();
|
||||
connection.setDefaultUseCaches(false);
|
||||
connection.setUseCaches(false);
|
||||
connection.connect();
|
||||
try (
|
||||
|
Loading…
Reference in New Issue
Block a user