print this NBT load error with more info
This commit is contained in:
parent
e16c2aa227
commit
473154a833
@ -719,7 +719,7 @@ class MCLevel(object):
|
|||||||
try:
|
try:
|
||||||
root_tag = nbt.load(buf=data);
|
root_tag = nbt.load(buf=data);
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
info( u"Error during NBT load: {0}".format(e) )
|
info( u"Error during NBT load: {0!r}".format(e) )
|
||||||
info( u"Fallback: Detected compressed flat block array, yzx ordered " )
|
info( u"Fallback: Detected compressed flat block array, yzx ordered " )
|
||||||
lev = MCJavaLevel(filename, data);
|
lev = MCJavaLevel(filename, data);
|
||||||
lev.compressed = compressed;
|
lev.compressed = compressed;
|
||||||
|
Reference in New Issue
Block a user