use originalId on PlayerService#usernameToUuid
All checks were successful
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 1m11s
All checks were successful
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 1m11s
This commit is contained in:
parent
2ff9122a99
commit
b1bcaad8dc
@ -48,7 +48,7 @@ public class PlayerService {
|
||||
log.info("Getting player: {}", originalId);
|
||||
UUID uuid = PlayerUtils.getUuidFromString(originalId);
|
||||
if (uuid == null) { // If the id is not a valid uuid, get the uuid from the username
|
||||
uuid = usernameToUuid(id);
|
||||
uuid = usernameToUuid(originalId);
|
||||
}
|
||||
|
||||
Optional<CachedPlayer> cachedPlayer = playerCacheRepository.findById(uuid);
|
||||
|
Loading…
x
Reference in New Issue
Block a user