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 | f315bbe43cc490a6ee8f94c9321669bdfe5e8376 (patch) | |
tree | f7071fd3c784b176fdd3ee5be40c9097fd331f25 /EssentialsGeoIP | |
parent | 299be08d132a0593d4466d76f406a83de97a989d (diff) | |
download | Essentials-f315bbe43cc490a6ee8f94c9321669bdfe5e8376.tar Essentials-f315bbe43cc490a6ee8f94c9321669bdfe5e8376.tar.gz Essentials-f315bbe43cc490a6ee8f94c9321669bdfe5e8376.tar.lz Essentials-f315bbe43cc490a6ee8f94c9321669bdfe5e8376.tar.xz Essentials-f315bbe43cc490a6ee8f94c9321669bdfe5e8376.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')
-rw-r--r-- | EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java | 8 | ||||
-rw-r--r-- | EssentialsGeoIP/src/plugin.yml | 3 |
2 files changed, 2 insertions, 9 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); diff --git a/EssentialsGeoIP/src/plugin.yml b/EssentialsGeoIP/src/plugin.yml index 3ca12eb93..92fdc9963 100644 --- a/EssentialsGeoIP/src/plugin.yml +++ b/EssentialsGeoIP/src/plugin.yml @@ -5,4 +5,5 @@ main: com.earth2me.essentials.geoip.EssentialsGeoIP version: TeamCity website: http://www.earth2me.net:8001/ description: Shows the country or city of a user on login and /whois. -authors: [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology]
\ No newline at end of file +authors: [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology] +depend: [Essentials]
\ No newline at end of file |