summaryrefslogtreecommitdiffstats
path: root/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2012-01-20 05:20:37 +0100
committersnowleo <schneeleo@gmail.com>2012-01-20 05:20:37 +0100
commitebb3a1c19fd56c92987ffb16e29f691c2a386568 (patch)
tree39adec608276e792e84e24d8fec6c01acf8e9067 /EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java
parent1d0a9e4c89c657b1a251cb0f4d892b74cfd15b01 (diff)
downloadEssentials-ebb3a1c19fd56c92987ffb16e29f691c2a386568.tar
Essentials-ebb3a1c19fd56c92987ffb16e29f691c2a386568.tar.gz
Essentials-ebb3a1c19fd56c92987ffb16e29f691c2a386568.tar.lz
Essentials-ebb3a1c19fd56c92987ffb16e29f691c2a386568.tar.xz
Essentials-ebb3a1c19fd56c92987ffb16e29f691c2a386568.zip
Update for new CraftBukkit Event Code
EssentialsSpawn can't be updated yet, because the new event system lacks dynamic priorities.
Diffstat (limited to 'EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java')
-rw-r--r--EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java b/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java
index e0ca6cd7c..5700a7472 100644
--- a/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java
+++ b/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java
@@ -37,7 +37,7 @@ public class EssentialsGeoIP extends JavaPlugin
return;
}
final EssentialsGeoIPPlayerListener playerListener = new EssentialsGeoIPPlayerListener(getDataFolder(), ess);
- pm.registerEvent(Type.PLAYER_JOIN, playerListener, Priority.Monitor, this);
+ pm.registerEvents(playerListener, this);
logger.info(_("loadinfo", this.getDescription().getName(), this.getDescription().getVersion(), "essentials team"));