mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-20 13:31:25 +02:00
Finally get rid of all dependency problems.
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1423 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
@@ -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);
|
||||
|
@@ -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]
|
||||
authors: [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology]
|
||||
depend: [Essentials]
|
Reference in New Issue
Block a user