echo the chosen block types when filling/replacing
This commit is contained in:
parent
07642a1aba
commit
35bdd17e76
5
mce.py
5
mce.py
@ -212,6 +212,8 @@ class mce(object):
|
||||
|
||||
raise UsageError
|
||||
|
||||
print "Filling with {0}".format(self.level.materials.names[blockType])
|
||||
|
||||
box = BoundingBox(destPoint, destSize)
|
||||
self.level.fillBlocks(box, blockType)
|
||||
|
||||
@ -252,6 +254,9 @@ class mce(object):
|
||||
|
||||
raise UsageError
|
||||
|
||||
print "Replacing {0} with {1}".format(self.level.materials.names[blockType],
|
||||
self.level.materials.names[newBlockType])
|
||||
|
||||
box = BoundingBox(destPoint, destSize)
|
||||
self.level.fillBlocks(box, newBlockType, blockData = 0, blocksToReplace = [blockType])
|
||||
|
||||
|
Reference in New Issue
Block a user