Lenovo G510 a decent laptop?

My sister needs a cheap and reliable laptop for homework and Minecraft. The Lenovo G510 looks like a good choice since it's on sale for $479. Should we get it or is this just a piece of junk that's going to stop working a year from now?