Fixed another access error in leaves.cpp.
Fixed another access error in leaves.cpp.

chtisgit/mine152,chtisgit/mine152,fador/mineserver,fador/mineserver,fador/mineserver,chtisgit/mine152,chtisgit/mine152,fador/mineserver