Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #247 from serfend/JxPvp
Browse files Browse the repository at this point in the history
fix[kf]mapper data lost
  • Loading branch information
Serfend committed Jun 25, 2023
2 parents 19f95fc + e173bd5 commit ba0b13e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/assistance/assistance.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ async def apply_for_place(group: str, description: str, id: str, job: str, apply
except:
return "无法获取到UID!"
if job != "老板":
if player_data["data"]["forceName"] != get_xinfa_belong(job):
if get_xinfa_belong(player_data["data"]["forceName"]) != get_xinfa_belong(job):
return "检测到自身预定职业和角色职业冲突,预定失败。"
new = {
"uid": uid,
Expand Down

0 comments on commit ba0b13e

Please sign in to comment.