Added some stub methods to PocketChunk so that the analyze command doesn't crash

This commit is contained in:
Zhuowei Zhang 2012-04-29 14:34:08 -07:00
parent b5decefa56
commit b6a490f7f9

View File

@ -400,12 +400,18 @@ class PocketChunk(LightedChunk):
def load(self):
pass
def unload(self):
pass
def decompress(self):
pass
def compress(self):
pass
def compressedSize(self):
return 0
def unpackChunkData(self):
for key in ('SkyLight', 'BlockLight', 'Data'):
dataArray = getattr(self, key)