Fixed super-long error message.

This commit is contained in:
Martin Haye 2016-08-25 08:49:38 -07:00
parent 7ebe405c41
commit c5a319d904

View File

@ -3088,7 +3088,7 @@ end
def packHasItem(blk)
{
def name = getSingle(blk.field, "NAME").text().trim()
assert itemNameToFunc.containsKey(name.toLowerCase()) : "Can't locate item '$name': $itemNameToFunc"
assert itemNameToFunc.containsKey(name.toLowerCase()) : "Can't locate item '$name'"
out << "playerHasItem(${escapeString(name)})"
}