xptracker: treat players with rank -1 as unranked

This commit is contained in:
Adam
2019-02-16 19:02:50 -05:00
parent 5b16aa2365
commit b855371d8b

View File

@@ -289,7 +289,7 @@ public class XpTrackerService
private static Duration updateFrequency(PlayerEntity playerEntity)
{
Integer rank = playerEntity.getRank();
if (rank == null)
if (rank == null || rank == -1)
{
return Duration.ofDays(7);
}