FakeChunk now inherits from EntityLevel, so it has getEntitiesInBox and other methods
This commit is contained in:
parent
827ed93e24
commit
f165035cfa
2
level.py
2
level.py
@ -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
|
||||||
|
Reference in New Issue
Block a user