FakeChunk now inherits from EntityLevel, so it has getEntitiesInBox and other methods

This commit is contained in:
David Vierra 2011-08-17 17:02:06 -10:00
parent 827ed93e24
commit f165035cfa

View File

@ -147,7 +147,7 @@ class MCLevel(object):
position. Subclasses override fakeBlocksForChunk and fakeDataForChunk position. Subclasses override fakeBlocksForChunk and fakeDataForChunk
to fill in the chunk arrays""" to fill in the chunk arrays"""
class FakeChunk: class FakeChunk(EntityLevel):
def load(self):pass def load(self):pass
def compress(self):pass def compress(self):pass
def __init__(self):pass def __init__(self):pass