Modified to the "new" bukkit event system