fixed !missing to point to location table not item. (#2)
This commit is contained in:
parent
95358bc523
commit
5087b78c28
|
@ -810,7 +810,7 @@ class ClientMessageProcessor(CommonCommandProcessor):
|
||||||
locations = get_missing_checks(self.ctx, self.client)
|
locations = get_missing_checks(self.ctx, self.client)
|
||||||
|
|
||||||
if locations:
|
if locations:
|
||||||
texts = [f'Missing: {get_item_name_from_id(location)}' for location in locations]
|
texts = [f'Missing: {get_location_name_from_address(location)}' for location in locations]
|
||||||
texts.append(f"Found {len(locations)} missing location checks")
|
texts.append(f"Found {len(locations)} missing location checks")
|
||||||
self.ctx.notify_client_multiple(self.client, texts)
|
self.ctx.notify_client_multiple(self.client, texts)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue