Clean out warnings
Correct finding index for chunks array - local x, z, not absolute