MultiServer/CommonClient: We forgot about Item Links again (Hint Priority) (#4314)

* Vi don't forget about itemlinks challenge difficulty impossible

* People other than Vi also don't forget about ItemLinks challenge difficulty impossible
This commit is contained in:
NewSoupVi
2024-12-10 20:35:36 +01:00
committed by GitHub
parent 781100a571
commit 5dd19fccd0
3 changed files with 4 additions and 4 deletions

View File

@@ -1914,7 +1914,7 @@ async def process_client_cmd(ctx: Context, client: Client, args: dict):
hint = ctx.get_hint(client.team, player, location)
if not hint:
return # Ignored safely
if hint.receiving_player != client.slot:
if client.slot not in ctx.slot_set(hint.receiving_player):
await ctx.send_msgs(client,
[{'cmd': 'InvalidPacket', "type": "arguments", "text": 'UpdateHint: No Permission',
"original_cmd": cmd}])