diff --git a/mce.py b/mce.py index 6deb031..7612e6d 100755 --- a/mce.py +++ b/mce.py @@ -268,7 +268,7 @@ class mce(object): self.needsSave = True; - print "Filled {0} blocks.".format(box.volume) + print "Filled {0} blocks.".format("all" if box is None else box.volume) def _replace(self, command): """ @@ -306,8 +306,8 @@ class mce(object): self.level.fillBlocks(box, newBlockType, blockData = 0, blocksToReplace = [blockType]) self.needsSave = True; - print "Replaced {0} blocks.".format(box.volume) - + print "Replaced {0} blocks.".format("all" if box is None else box.volume) + def _analyze(self, command): """ analyze