print partial matches better, without future block spam
This commit is contained in:
parent
e2c27b7b63
commit
1bdd5ecffa
5
mce.py
5
mce.py
@ -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
|
||||
|
Reference in New Issue
Block a user