MultiServer: update InvalidPacket text for location scouts (#4485)

This commit is contained in:
Fabian Dill
2025-01-15 21:50:20 +01:00
committed by GitHub
parent 1eefe23f11
commit 9dac7d9cc3

View File

@@ -1888,7 +1888,8 @@ async def process_client_cmd(ctx: Context, client: Client, args: dict):
for location in args["locations"]:
if type(location) is not int:
await ctx.send_msgs(client,
[{'cmd': 'InvalidPacket', "type": "arguments", "text": 'LocationScouts',
[{'cmd': 'InvalidPacket', "type": "arguments",
"text": 'Locations has to be a list of integers',
"original_cmd": cmd}])
return