Merge branch 'rel_fix' of https://github.com/na10xi27da/MaiBot into rel_fix

pull/635/head
meng_xi_pan 2025-04-03 15:28:15 +08:00
commit 7734c5d895
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ class RelationshipManager:
level_num = 5 if relationship_value > 1000 else 0
return level_num
def ensure_float(elsf, value, person_id):
def ensure_float(self, value, person_id):
"""确保返回浮点数转换失败返回0.0"""
if isinstance(value, float):
return value