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
commit794e92879fefaf36251dcaf50d0cad2668b8ce72 (patch)
treefdb616a0c45edd74fc894e90ec68e4fdbffd447f /EssentialsSpawn/src
parent3d940e90908c01512d17feb9fe90965679a3f444 (diff)
downloadEssentials-794e92879fefaf36251dcaf50d0cad2668b8ce72.tar
Essentials-794e92879fefaf36251dcaf50d0cad2668b8ce72.tar.gz
Essentials-794e92879fefaf36251dcaf50d0cad2668b8ce72.tar.lz
Essentials-794e92879fefaf36251dcaf50d0cad2668b8ce72.tar.xz
Essentials-794e92879fefaf36251dcaf50d0cad2668b8ce72.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"));