Fix -1 achievement progress

This commit is contained in:
Sam 2017-10-25 19:25:49 +01:00 committed by Alexander Meech
parent 468b4c40ee
commit 9f971d09bb

View File

@ -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);