diff --git a/houdini/handlers/play/item.py b/houdini/handlers/play/item.py index 8d2a67d..c883c05 100644 --- a/houdini/handlers/play/item.py +++ b/houdini/handlers/play/item.py @@ -32,7 +32,7 @@ async def get_awards_string(p, player_id): inventory = await PenguinItemCollection.get_collection(player_id) awards = [str(award) for award in inventory.keys() if p.server.items[award].is_award()] - return '%'.join(awards) + return '|'.join(awards) @handlers.boot @@ -99,4 +99,4 @@ async def handle_query_player_awards(p, player_id: int): string = p.server.cache.get(f'awards.{player_id}') string = await get_awards_string(p, player_id) if string is None else string p.server.cache.set(f'awards.{player_id}', string) - await p.send_xt('qpa', string) + await p.send_xt('qpa', player_id, string)