0

moved trasparent_blocks, etc. into textures.py (Issue #516)

This commit is contained in:
Aaron Griffith
2011-10-31 13:28:28 -04:00
parent 64e67cc827
commit 69c109fc05
5 changed files with 23 additions and 23 deletions

View File

@@ -72,7 +72,7 @@ rendermode_spawn_start(void *data, RenderState *state, PyObject *options) {
/* now do custom initializations */
self = (RenderModeSpawn *)data;
self->nospawn_blocks = PyObject_GetAttrString(state->chunk, "nospawn_blocks");
self->nospawn_blocks = PyObject_GetAttrString(state->textures, "nospawn_blocks");
self->blocklight = PyObject_GetAttrString(state->self, "blocklight");
self->skylight = PyObject_GetAttrString(state->self, "skylight");