echo the chosen block types when filling/replacing

This commit is contained in:
David Vierra 2010-09-19 18:49:16 -10:00
parent 07642a1aba
commit 35bdd17e76

5
mce.py
View File

@ -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])