summaryrefslogtreecommitdiffstats
path: root/EssentialsSpawn/src/com
diff options
context:
space:
mode:
authorsnowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-05-11 22:30:34 +0000
committersnowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-05-11 22:30:34 +0000
commitf315bbe43cc490a6ee8f94c9321669bdfe5e8376 (patch)
treef7071fd3c784b176fdd3ee5be40c9097fd331f25 /EssentialsSpawn/src/com
parent299be08d132a0593d4466d76f406a83de97a989d (diff)
downloadEssentials-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 'EssentialsSpawn/src/com')
-rw-r--r--EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawn.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawn.java b/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawn.java
index 1f6fea4af..d6b638d03 100644
--- a/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawn.java
+++ b/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawn.java
@@ -22,12 +22,6 @@ public class EssentialsSpawn 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);
- }
- }
EssentialsSpawnPlayerListener playerListener = new EssentialsSpawnPlayerListener();
getServer().getPluginManager().registerEvent(Type.PLAYER_RESPAWN, playerListener, Priority.Low, this);
getServer().getPluginManager().registerEvent(Type.PLAYER_JOIN, playerListener, Priority.Low, this);