fix tests
Some checks failed
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Has been cancelled

This commit is contained in:
Lee
2024-04-13 17:21:33 +01:00
parent b5e8664ad3
commit e5e3503abc
3 changed files with 12 additions and 7 deletions

View File

@ -115,6 +115,7 @@ public class PlayerService {
CachedPlayerName player = new CachedPlayerName(username, uuid);
playerNameCacheRepository.save(player);
log.info("Got UUID from username: {} -> {}", username, uuid);
player.getCache().setCached(false);
return player;
} catch (RateLimitException exception) {
throw new MojangAPIRateLimitException();