Don't default to pc_blocktypes in WorldEditor, use adapter's types. (wtf)
This commit is contained in:
parent
ea7f17db22
commit
e9f18b10dc
@ -9,7 +9,6 @@ import numpy
|
||||
|
||||
from mceditlib.block_copy import copyBlocksIter
|
||||
from mceditlib.operations.block_fill import FillBlocksOperation
|
||||
from mceditlib.blocktypes import pc_blocktypes
|
||||
from mceditlib.selection import BoundingBox
|
||||
from mceditlib.findadapter import findAdapter
|
||||
from mceditlib.multi_block import getBlocks, setBlocks
|
||||
@ -288,10 +287,6 @@ class WorldEditor(object):
|
||||
|
||||
loadedChunkLimit = 400
|
||||
|
||||
# --- Instance variables ---
|
||||
|
||||
blocktypes = pc_blocktypes
|
||||
|
||||
# --- World limits ---
|
||||
|
||||
@property
|
||||
@ -304,6 +299,10 @@ class WorldEditor(object):
|
||||
def displayName(self):
|
||||
return displayName(self.filename)
|
||||
|
||||
@property
|
||||
def blocktypes(self):
|
||||
return self.adapter.blocktypes
|
||||
|
||||
# --- Chunk I/O ---
|
||||
|
||||
def preloadChunkPositions(self):
|
||||
|
Reference in New Issue
Block a user