Multiserver: warn about missing items_handling

This commit is contained in:
Fabian Dill 2022-02-20 04:16:55 +01:00
parent e94b99da65
commit ad75ee8c50
1 changed files with 2 additions and 0 deletions

View File

@ -1353,6 +1353,8 @@ async def process_client_cmd(ctx: Context, client: Client, args: dict):
client.no_items = False
client.remote_items = slot in ctx.remote_items
client.remote_start_inventory = slot in ctx.remote_start_inventory
ctx.send_msgs([{"cmd": "Print", "text": "Warning: Client is not sending items_handling flags, "
"which will not be supported in the future."}])
else:
try:
client.items_handling = args['items_handling']