summaryrefslogtreecommitdiffstats
path: root/EssentialsSpawn/src
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-12-07 15:09:22 +0100
committersnowleo <schneeleo@gmail.com>2011-12-07 15:09:22 +0100
commit02b25120e89194203103a3e02d4c0a116b90e8b5 (patch)
tree39e0adff4df9d01c8cff99bf749cf69a918a1321 /EssentialsSpawn/src
parent435219bab6bc20a53d1c15526de6707fb986b1f7 (diff)
downloadEssentials-02b25120e89194203103a3e02d4c0a116b90e8b5.tar
Essentials-02b25120e89194203103a3e02d4c0a116b90e8b5.tar.gz
Essentials-02b25120e89194203103a3e02d4c0a116b90e8b5.tar.lz
Essentials-02b25120e89194203103a3e02d4c0a116b90e8b5.tar.xz
Essentials-02b25120e89194203103a3e02d4c0a116b90e8b5.zip
Allow to set the Respawn priority in config.
Diffstat (limited to 'EssentialsSpawn/src')
-rw-r--r--EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawn.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawn.java b/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawn.java
index ad42f9dee..c4cd7c727 100644
--- a/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawn.java
+++ b/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawn.java
@@ -38,7 +38,7 @@ public class EssentialsSpawn extends JavaPlugin
ess.addReloadListener(spawns);
final EssentialsSpawnPlayerListener playerListener = new EssentialsSpawnPlayerListener(ess, spawns);
- pluginManager.registerEvent(Type.PLAYER_RESPAWN, playerListener, Priority.Low, this);
+ pluginManager.registerEvent(Type.PLAYER_RESPAWN, playerListener, ess.getSettings().getRespawnPriority(), this);
pluginManager.registerEvent(Type.PLAYER_JOIN, playerListener, Priority.Low, this);
LOGGER.info(_("loadinfo", this.getDescription().getName(), this.getDescription().getVersion(), "essentials team"));