diff options
author | Iaccidentally <coryhuckaby@gmail.com> | 2012-07-29 14:20:09 -0400 |
---|---|---|
committer | Iaccidentally <coryhuckaby@gmail.com> | 2012-07-29 14:20:09 -0400 |
commit | 136d60e1f57ef4b136e8e165448f65327b94b9aa (patch) | |
tree | 7187bcc63ae4b5b2e5880a169697055fcc11c343 | |
parent | 7f40c1ca66590b4fd7ba059544e2ee54f4d6a2eb (diff) | |
download | Essentials-136d60e1f57ef4b136e8e165448f65327b94b9aa.tar Essentials-136d60e1f57ef4b136e8e165448f65327b94b9aa.tar.gz Essentials-136d60e1f57ef4b136e8e165448f65327b94b9aa.tar.lz Essentials-136d60e1f57ef4b136e8e165448f65327b94b9aa.tar.xz Essentials-136d60e1f57ef4b136e8e165448f65327b94b9aa.zip |
KeepXp fixed.
-rw-r--r-- | Essentials/src/com/earth2me/essentials/EssentialsEntityListener.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/EssentialsEntityListener.java b/Essentials/src/com/earth2me/essentials/EssentialsEntityListener.java index 82745780d..ff8ba92e9 100644 --- a/Essentials/src/com/earth2me/essentials/EssentialsEntityListener.java +++ b/Essentials/src/com/earth2me/essentials/EssentialsEntityListener.java @@ -125,6 +125,7 @@ public class EssentialsEntityListener implements Listener if (user.isAuthorized("essentials.keepxp")) { event.setKeepLevel(true); + event.setDroppedExp(0); } } @EventHandler(priority = EventPriority.LOW, ignoreCancelled = true) |