Add missing includes

This commit is contained in:
nossr50
2020-09-25 10:40:26 -07:00
parent 02fe8addb7
commit 6f99940540
3 changed files with 37 additions and 1 deletions

View File

@ -483,7 +483,7 @@ public class TextComponentFactory {
int curRank = RankUtils.getRank(player, subSkillType);
int nextRank = 0;
if(curRank < subSkillType.getNumRanks() && subSkillType.getNumRanks() > 0)
if(curRank < subSkillType.getNumRanks())
{
nextRank = RankUtils.getRankUnlockLevel(subSkillType, curRank+1);
}