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 /EssentialsChat | |
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 'EssentialsChat')
-rw-r--r-- | EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChat.java | 6 | ||||
-rw-r--r-- | EssentialsChat/src/plugin.yml | 3 |
2 files changed, 2 insertions, 7 deletions
diff --git a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChat.java b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChat.java index 2e89e9ee3..0271fff6f 100644 --- a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChat.java +++ b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChat.java @@ -22,12 +22,6 @@ public class EssentialsChat extends JavaPlugin public void onEnable() { - Plugin p = this.getServer().getPluginManager().getPlugin("Essentials"); - if (p != null) { - if (!this.getServer().getPluginManager().isPluginEnabled(p)) { - this.getServer().getPluginManager().enablePlugin(p); - } - } PluginManager pm = getServer().getPluginManager(); EssentialsChatPlayerListener playerListener = new EssentialsChatPlayerListener(getServer()); pm.registerEvent(Type.PLAYER_JOIN, playerListener, Priority.Monitor, this); diff --git a/EssentialsChat/src/plugin.yml b/EssentialsChat/src/plugin.yml index d0cc4616d..0be4e1c75 100644 --- a/EssentialsChat/src/plugin.yml +++ b/EssentialsChat/src/plugin.yml @@ -5,4 +5,5 @@ main: com.earth2me.essentials.chat.EssentialsChat version: TeamCity
website: http://www.earth2me.net:8001/
description: Provides chat control features for Essentials. Requires Permissions.
-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 |