MultiServer: fix sending items_handling warning
This commit is contained in:
parent
1b73bacde1
commit
534ce179ec
|
@ -1372,8 +1372,10 @@ async def process_client_cmd(ctx: Context, client: Client, args: dict):
|
||||||
client.no_items = False
|
client.no_items = False
|
||||||
client.remote_items = slot in ctx.remote_items
|
client.remote_items = slot in ctx.remote_items
|
||||||
client.remote_start_inventory = slot in ctx.remote_start_inventory
|
client.remote_start_inventory = slot in ctx.remote_start_inventory
|
||||||
ctx.send_msgs([{"cmd": "Print", "text": "Warning: Client is not sending items_handling flags, "
|
await ctx.send_msgs(client, [{
|
||||||
"which will not be supported in the future."}])
|
"cmd": "Print", "text":
|
||||||
|
"Warning: Client is not sending items_handling flags, "
|
||||||
|
"which will not be supported in the future."}])
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
client.items_handling = args['items_handling']
|
client.items_handling = args['items_handling']
|
||||||
|
|
Loading…
Reference in New Issue