KeepXp fixed.

This commit is contained in:
Iaccidentally 2012-07-29 14:20:09 -04:00
parent 3b25235755
commit fcf39ed85b

View File

@ -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)