diff options
author | snowleo <schneeleo@gmail.com> | 2012-01-20 05:20:37 +0100 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2012-01-20 05:20:37 +0100 |
commit | 792f70efa5f3a47f642360e97979fe841593384c (patch) | |
tree | bf119f53a3426f1016457d066820eb334eb393ac /EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java | |
parent | 46298ae85895574a097b1dd10c46196ffa1a42d3 (diff) | |
download | Essentials-792f70efa5f3a47f642360e97979fe841593384c.tar Essentials-792f70efa5f3a47f642360e97979fe841593384c.tar.gz Essentials-792f70efa5f3a47f642360e97979fe841593384c.tar.lz Essentials-792f70efa5f3a47f642360e97979fe841593384c.tar.xz Essentials-792f70efa5f3a47f642360e97979fe841593384c.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.java | 2 |
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")); |