diff options
Diffstat (limited to 'EssentialsGeoIP/src/com')
-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); |