Handle "None" texture in model json/configured blocks
Model json needs to be more strict...
This commit is contained in:
parent
00d939dd57
commit
05ee26430c
@ -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:
|
||||
|
Reference in New Issue
Block a user