1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-13 18:14:38 +02:00

Fix startup errors

This commit is contained in:
snowleo
2012-10-06 11:06:52 +02:00
parent 21b2e4b072
commit f2e31e56c5
10 changed files with 32 additions and 11 deletions

View File

@@ -167,6 +167,9 @@ public class EssentialsGeoIPPlayerListener implements Listener, IReload
LOGGER.log(Level.SEVERE, _("geoIpUrlEmpty"));
return;
}
if (!databaseFile.getAbsoluteFile().getParentFile().exists()) {
databaseFile.getAbsoluteFile().getParentFile().mkdirs();
}
InputStream input = null;
OutputStream output = null;
try