summaryrefslogtreecommitdiffstats
path: root/EssentialsGeoIP
diff options
context:
space:
mode:
authormd_5 <md_5@bigpond.com>2012-06-27 20:27:27 +1000
committermd_5 <md_5@bigpond.com>2012-06-27 20:27:27 +1000
commit06f54fdbac1874c549b5181d92b4a9474da55dcc (patch)
tree0390c78353d15cc239512fd2b9a1990df58b7300 /EssentialsGeoIP
parent4561a7f0106adb7bd62e2d42114cb80a3a30b570 (diff)
downloadEssentials-06f54fdbac1874c549b5181d92b4a9474da55dcc.tar
Essentials-06f54fdbac1874c549b5181d92b4a9474da55dcc.tar.gz
Essentials-06f54fdbac1874c549b5181d92b4a9474da55dcc.tar.lz
Essentials-06f54fdbac1874c549b5181d92b4a9474da55dcc.tar.xz
Essentials-06f54fdbac1874c549b5181d92b4a9474da55dcc.zip
That just leaves the big ol' core. Largely ignore Compat as it is very temporary.
Diffstat (limited to 'EssentialsGeoIP')
-rw-r--r--EssentialsGeoIP/src/com/earth2me/essentials/geoip/ConfigHolder.java4
-rw-r--r--EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java12
2 files changed, 3 insertions, 13 deletions
diff --git a/EssentialsGeoIP/src/com/earth2me/essentials/geoip/ConfigHolder.java b/EssentialsGeoIP/src/com/earth2me/essentials/geoip/ConfigHolder.java
index bf45e54c6..183c591ab 100644
--- a/EssentialsGeoIP/src/com/earth2me/essentials/geoip/ConfigHolder.java
+++ b/EssentialsGeoIP/src/com/earth2me/essentials/geoip/ConfigHolder.java
@@ -7,6 +7,7 @@ import java.io.File;
import java.io.IOException;
import org.bukkit.plugin.Plugin;
+
public class ConfigHolder extends AsyncStorageObjectHolder<GeoIP>
{
private final transient Plugin geoip;
@@ -27,13 +28,10 @@ public class ConfigHolder extends AsyncStorageObjectHolder<GeoIP>
@Override
public void finishRead()
{
-
}
@Override
public void finishWrite()
{
-
}
-
}
diff --git a/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java b/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java
index b6697a658..43b4959da 100644
--- a/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java
+++ b/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java
@@ -9,15 +9,6 @@ import org.bukkit.plugin.java.JavaPlugin;
public class EssentialsGeoIP extends JavaPlugin
{
- public EssentialsGeoIP()
- {
- }
-
- @Override
- public void onDisable()
- {
- }
-
@Override
public void onEnable()
{
@@ -27,7 +18,8 @@ public class EssentialsGeoIP extends JavaPlugin
{
getLogger().log(Level.WARNING, _("versionMismatchAll"));
}
- if (!ess.isEnabled()) {
+ if (!ess.isEnabled())
+ {
this.setEnabled(false);
return;
}