Revert "add essentials.keepxp to allow a player to keep their level after death."

This reverts commit 3b25235755.
This commit is contained in:
ementalo 2012-06-25 21:40:22 +01:00
parent 3b25235755
commit 0395b5d222

View File

@ -118,15 +118,7 @@ public class EssentialsEntityListener implements Listener
event.setDeathMessage("");
}
}
@EventHandler(priority = EventPriority.LOW)
public void onPlayerDeathExpEvent(final PlayerDeathEvent event)
{
final User user = ess.getUser(event.getEntity());
if (user.isAuthorized("essentials.keepxp"))
{
event.setKeepLevel(true);
}
}
@EventHandler(priority = EventPriority.LOW, ignoreCancelled = true)
public void onFoodLevelChange(final FoodLevelChangeEvent event)
{