From 7855b5bcca885b59564f79f98150dbab987dc528 Mon Sep 17 00:00:00 2001 From: Liam Date: Wed, 10 Apr 2024 12:17:27 +0100 Subject: [PATCH] yes! --- src/main/java/cc.fascinated/service/PlayerService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cc.fascinated/service/PlayerService.java b/src/main/java/cc.fascinated/service/PlayerService.java index c91310e..0d77163 100644 --- a/src/main/java/cc.fascinated/service/PlayerService.java +++ b/src/main/java/cc.fascinated/service/PlayerService.java @@ -86,7 +86,7 @@ public class PlayerService { */ private UUID usernameToUuid(String username) { log.info("Getting UUID from username: {}", username); - Optional cachedPlayerName = playerNameCacheRepository.findById(username); + Optional cachedPlayerName = playerNameCacheRepository.findById(username.toUpperCase()); if (cachedPlayerName.isPresent()) { return cachedPlayerName.get().getUniqueId(); }