mirror of
https://github.com/solero/houdini.git
synced 2024-11-25 06:57:24 +00:00
Fix handler check on handle_epf_grant_reward
This commit is contained in:
parent
052742b478
commit
041146caae
@ -134,7 +134,7 @@ async def handle_get_com_messages(p):
|
|||||||
|
|
||||||
@handlers.handler(XTPacket('f', 'epfgrantreward'))
|
@handlers.handler(XTPacket('f', 'epfgrantreward'))
|
||||||
@handlers.cooldown(60)
|
@handlers.cooldown(60)
|
||||||
@handlers.player_attribute(agent_status=False)
|
@handlers.player_attribute(agent_status=True)
|
||||||
async def handle_epf_grant_reward(p, medals: int):
|
async def handle_epf_grant_reward(p, medals: int):
|
||||||
medals = min(45, medals)
|
medals = min(45, medals)
|
||||||
await p.update(career_medals=p.career_medals + medals,
|
await p.update(career_medals=p.career_medals + medals,
|
||||||
|
Loading…
Reference in New Issue
Block a user