fixing index out of range

This change works for me. Without it, i was stucked in "index out of range" error.

I'm using Minecraft Overviewer 0.10.19 (c8efd61)