diff --git a/overviewer_core/src/iterate.c b/overviewer_core/src/iterate.c index d794277..c7b3f68 100644 --- a/overviewer_core/src/iterate.c +++ b/overviewer_core/src/iterate.c @@ -481,6 +481,9 @@ chunk_render(PyObject *self, PyObject *args) { /* get the texture */ t = PyList_GET_ITEM(blockmap, max_data * state.block + ancilData); + /* if we don't get a texture, try it again with 0 data */ + if ((t == NULL || t == Py_None) && ancilData != 0) + t = PyList_GET_ITEM(blockmap, max_data * state.block); /* if we found a proper texture, render it! */ if (t != NULL && t != Py_None)