Fix -1 achievement progress
This commit is contained in:
parent
468b4c40ee
commit
9f971d09bb
@ -96,7 +96,7 @@ public class AchievementSummaryComponent extends ComplexSummaryComponent
|
||||
)
|
||||
.sendToPlayer(player);
|
||||
}
|
||||
else if (!_taskManager.hasCompletedTask(player, achievement.getName()) || data.getLevel() != -1)
|
||||
else if (!_taskManager.hasCompletedTask(player, achievement.getName()) && data.getExpNextLevel() != -1)
|
||||
{
|
||||
String nameLevel = getAchievementName(achievement, data);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user