diff options
author | snowleo <schneeleo@gmail.com> | 2011-12-07 15:09:22 +0100 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2011-12-07 15:09:22 +0100 |
commit | 794e92879fefaf36251dcaf50d0cad2668b8ce72 (patch) | |
tree | fdb616a0c45edd74fc894e90ec68e4fdbffd447f /EssentialsSpawn/src | |
parent | 3d940e90908c01512d17feb9fe90965679a3f444 (diff) | |
download | Essentials-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.java | 2 |
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")); |