add raw profile properties to the player endpoint
All checks were successful
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 1m35s

This commit is contained in:
Lee
2024-04-11 00:15:12 +01:00
parent 0ea69f86f9
commit 624dcc0be6
4 changed files with 13 additions and 5 deletions

View File

@ -1,5 +1,6 @@
package cc.fascinated.model.cache;
import cc.fascinated.model.mojang.MojangProfile;
import cc.fascinated.model.player.Cape;
import cc.fascinated.model.player.Player;
import cc.fascinated.model.player.Skin;
@ -26,8 +27,8 @@ public final class CachedPlayer extends Player implements Serializable {
*/
private long cached;
public CachedPlayer(UUID uuid, String username, Skin skin, Cape cape, long cached) {
super(uuid, username, skin, cape);
public CachedPlayer(UUID uuid, String username, Skin skin, Cape cape, MojangProfile.ProfileProperty[] rawProperties, long cached) {
super(uuid, username, skin, cape, rawProperties);
this.cached = cached;
}
}