mirror of
https://github.com/solero/houdini.git
synced 2025-08-09 04:04:06 +00:00
Fix handler check on handle_epf_grant_reward
This commit is contained in:
@@ -134,7 +134,7 @@ async def handle_get_com_messages(p):
|
||||
|
||||
@handlers.handler(XTPacket('f', 'epfgrantreward'))
|
||||
@handlers.cooldown(60)
|
||||
@handlers.player_attribute(agent_status=False)
|
||||
@handlers.player_attribute(agent_status=True)
|
||||
async def handle_epf_grant_reward(p, medals: int):
|
||||
medals = min(45, medals)
|
||||
await p.update(career_medals=p.career_medals + medals,
|
||||
|
Reference in New Issue
Block a user