diff options
author | snowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-05-11 22:30:34 +0000 |
---|---|---|
committer | snowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-05-11 22:30:34 +0000 |
commit | 30a5198abbc8a994bfc0a282903ee4c61679bda8 (patch) | |
tree | f5872601ad5aff891907be67d7f4a369770fd577 /EssentialsGeoIP/src/com/earth2me/essentials | |
parent | 6f79a84587ff1f13f4a5e7ae677da6102d52c210 (diff) | |
download | Essentials-30a5198abbc8a994bfc0a282903ee4c61679bda8.tar Essentials-30a5198abbc8a994bfc0a282903ee4c61679bda8.tar.gz Essentials-30a5198abbc8a994bfc0a282903ee4c61679bda8.tar.lz Essentials-30a5198abbc8a994bfc0a282903ee4c61679bda8.tar.xz Essentials-30a5198abbc8a994bfc0a282903ee4c61679bda8.zip |
Finally get rid of all dependency problems.
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1423 e251c2fe-e539-e718-e476-b85c1f46cddb
Diffstat (limited to 'EssentialsGeoIP/src/com/earth2me/essentials')
-rw-r--r-- | EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java b/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java index 612fa7030..3051e4151 100644 --- a/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java +++ b/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java @@ -28,14 +28,6 @@ public class EssentialsGeoIP extends JavaPlugin public void onEnable() { PluginManager pm = getServer().getPluginManager(); - Plugin ess = pm.getPlugin("Essentials"); - if (ess != null) - { - if (!pm.isPluginEnabled(ess)) - { - pm.enablePlugin(ess); - } - } EssentialsGeoIPPlayerListener playerListener = new EssentialsGeoIPPlayerListener(getDataFolder()); pm.registerEvent(Type.PLAYER_JOIN, playerListener, Priority.Monitor, this); |