summaryrefslogtreecommitdiffstats
path: root/EssentialsChat/src/com/earth2me
diff options
context:
space:
mode:
Diffstat (limited to 'EssentialsChat/src/com/earth2me')
-rw-r--r--EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChat.java6
1 files changed, 0 insertions, 6 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);