diff options
author | snowleo <schneeleo@gmail.com> | 2012-01-24 00:01:31 +0100 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2012-01-24 00:01:31 +0100 |
commit | 6af054631fe04ef7a607f24e459e37836c568100 (patch) | |
tree | 55778160b5de4b4b437e7b61a470a0ce72803d93 /EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java | |
parent | 01a37df70070f50995e0314fc1af222b633af261 (diff) | |
download | Essentials-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.java | 3 |
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")); |