Bukkit/CraftBukkit — pull request #555 by jhaegg (2011-11-27 12:00:38+00:00)
Title: Experience fix for 1.0.0

Based on pullreq 531, allows for use of set/get for experience and levels once again. Calculation based on http://www.minecraftwiki.net/Experience. Made the assumption that enchantments cost levels and not experience equal to that required for the level of the enchant.