Handle "None" texture in model json/configured blocks

Model json needs to be more strict...
This commit is contained in:
David Vierra 2016-08-25 22:34:08 -10:00
parent 00d939dd57
commit 05ee26430c

View File

@ -340,6 +340,8 @@ cdef class BlockModels(object):
textureVars = {}
for k, v in rawTextureVars.iteritems():
if v is None:
continue
while v.startswith("#"):
v = rawTextureVars.get(v[1:])
if v: