summaryrefslogtreecommitdiffstats
path: root/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2012-01-24 00:01:31 +0100
committersnowleo <schneeleo@gmail.com>2012-01-24 00:01:31 +0100
commit6af054631fe04ef7a607f24e459e37836c568100 (patch)
tree55778160b5de4b4b437e7b61a470a0ce72803d93 /EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java
parent01a37df70070f50995e0314fc1af222b633af261 (diff)
downloadEssentials-6af054631fe04ef7a607f24e459e37836c568100.tar
Essentials-6af054631fe04ef7a607f24e459e37836c568100.tar.gz
Essentials-6af054631fe04ef7a607f24e459e37836c568100.tar.lz
Essentials-6af054631fe04ef7a607f24e459e37836c568100.tar.xz
Essentials-6af054631fe04ef7a607f24e459e37836c568100.zip
More work on 3.0 branch
Diffstat (limited to 'EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java')
-rw-r--r--EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java b/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java
index f9436d7f0..783684ef8 100644
--- a/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java
+++ b/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java
@@ -36,8 +36,9 @@ public class EssentialsGeoIP extends JavaPlugin
this.setEnabled(false);
return;
}
- final EssentialsGeoIPPlayerListener playerListener = new EssentialsGeoIPPlayerListener(getDataFolder(), ess);
+ final EssentialsGeoIPPlayerListener playerListener = new EssentialsGeoIPPlayerListener(this, ess);
pm.registerEvent(Type.PLAYER_JOIN, playerListener, Priority.Monitor, this);
+ ess.addReloadListener(playerListener);
logger.info(_("loadinfo", this.getDescription().getName(), this.getDescription().getVersion(), "essentials team"));