diff options
author | snowleo <schneeleo@gmail.com> | 2011-07-18 06:08:13 +0200 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2011-07-18 06:08:13 +0200 |
commit | b88d0f88a1c3f94bfac5c127518021157c1d1f5f (patch) | |
tree | c9f8dd31c18bbe7235d40922aafe4bd50590b9af | |
parent | d727cad2db52e305d4794df5d71c79387bcba02c (diff) | |
download | Essentials-b88d0f88a1c3f94bfac5c127518021157c1d1f5f.tar Essentials-b88d0f88a1c3f94bfac5c127518021157c1d1f5f.tar.gz Essentials-b88d0f88a1c3f94bfac5c127518021157c1d1f5f.tar.lz Essentials-b88d0f88a1c3f94bfac5c127518021157c1d1f5f.tar.xz Essentials-b88d0f88a1c3f94bfac5c127518021157c1d1f5f.zip |
Fix: Player staying afk if moving
-rw-r--r-- | Essentials/src/com/earth2me/essentials/Essentials.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Essentials/src/com/earth2me/essentials/Essentials.java b/Essentials/src/com/earth2me/essentials/Essentials.java index 2e2ea9786..1bd909f05 100644 --- a/Essentials/src/com/earth2me/essentials/Essentials.java +++ b/Essentials/src/com/earth2me/essentials/Essentials.java @@ -177,10 +177,7 @@ public class Essentials extends JavaPlugin implements IEssentials pm.registerEvent(Type.PLAYER_QUIT, playerListener, Priority.Monitor, this); pm.registerEvent(Type.PLAYER_CHAT, playerListener, Priority.Lowest, this); pm.registerEvent(Type.PLAYER_COMMAND_PREPROCESS, playerListener, Priority.Lowest, this); - if (getSettings().getNetherPortalsEnabled()) - { - pm.registerEvent(Type.PLAYER_MOVE, playerListener, Priority.High, this); - } + pm.registerEvent(Type.PLAYER_MOVE, playerListener, Priority.High, this); pm.registerEvent(Type.PLAYER_LOGIN, playerListener, Priority.High, this); pm.registerEvent(Type.PLAYER_TELEPORT, playerListener, Priority.High, this); pm.registerEvent(Type.PLAYER_INTERACT, playerListener, Priority.High, this); |