print partial matches better, without future block spam

This commit is contained in:
David Vierra 2010-09-19 15:04:23 -10:00
parent e2c27b7b63
commit 1bdd5ecffa

5
mce.py
View File

@ -133,7 +133,10 @@ class mce(object):
if blockType is None:
print "Ambiguous block specifier: ", keyword
if len(matches):
print "Matches: ", matches;
print "Matches: "
for m in matches:
if m == "Future Block!": continue
print "{0:3}: {1}".format(self.level.materials.materialNamed(m),m)
else:
print "No blocks matched."
raise ValueError