Doc changes

This commit is contained in:
Braydon 2024-04-06 15:25:33 -04:00
parent f9426395a0
commit aaee6c8ce9
2 changed files with 7 additions and 2 deletions

@ -1,13 +1,12 @@
package me.braydon.mc.repository;
import me.braydon.mc.model.Player;
import me.braydon.mc.model.cache.CachedPlayer;
import org.springframework.data.repository.CrudRepository;
import java.util.UUID;
/**
* A cache repository for {@link Player}'s.
* A cache repository for {@link CachedPlayer}'s.
*
* @author Braydon
*/

@ -45,6 +45,12 @@ public final class MojangService {
/**
* Get a player by their username or UUID.
* <p>
* If the player is present within the cache, that will
* be returned. If the player is not cached, a request
* will be made to retrieve the player from Mojang, cache it
* and then return the response.
* </p>
*
* @param query the query to search for the player by
* @return the player