经验值升级添加等号
This commit is contained in:
parent
33ee24f467
commit
1e60ff74cb
@ -221,7 +221,7 @@ public class FamilyCommon {
|
||||
long currentFamilyExp = familyLevelExpService.getExp(levelInfo.getFamilyId(), levelInfo.getFamilyLevelId()).longValue();
|
||||
long expNeeded = currentLevelCompleteExp - currentFamilyExp;
|
||||
|
||||
if (remainingExp < expNeeded) {
|
||||
if (remainingExp <= expNeeded) {
|
||||
addExpWithoutLevelUp(member, levelInfo, remainingExp, regionId);
|
||||
break;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user