forked from GeyserMC/Geyser
Update MinecraftCapes endpoints (#907)
Updates the mccapes endpoints with the new domain.
This commit is contained in:
parent
66570a623d
commit
3cdc208174
1 changed files with 2 additions and 2 deletions
|
@ -537,7 +537,7 @@ public class SkinProvider {
|
||||||
OPTIFINE("http://s.optifine.net/capes/%s.png", CapeUrlType.USERNAME),
|
OPTIFINE("http://s.optifine.net/capes/%s.png", CapeUrlType.USERNAME),
|
||||||
LABYMOD("https://www.labymod.net/page/php/getCapeTexture.php?uuid=%s", CapeUrlType.UUID_DASHED),
|
LABYMOD("https://www.labymod.net/page/php/getCapeTexture.php?uuid=%s", CapeUrlType.UUID_DASHED),
|
||||||
FIVEZIG("https://textures.5zigreborn.eu/profile/%s", CapeUrlType.UUID_DASHED),
|
FIVEZIG("https://textures.5zigreborn.eu/profile/%s", CapeUrlType.UUID_DASHED),
|
||||||
MINECRAFTCAPES("https://www.minecraftcapes.co.uk/getCape/%s", CapeUrlType.UUID);
|
MINECRAFTCAPES("https://minecraftcapes.net/profile/%s/cape", CapeUrlType.UUID);
|
||||||
|
|
||||||
public static final CapeProvider[] VALUES = Arrays.copyOfRange(values(), 1, 5);
|
public static final CapeProvider[] VALUES = Arrays.copyOfRange(values(), 1, 5);
|
||||||
private String url;
|
private String url;
|
||||||
|
@ -573,7 +573,7 @@ public class SkinProvider {
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@Getter
|
@Getter
|
||||||
public enum EarsProvider {
|
public enum EarsProvider {
|
||||||
MINECRAFTCAPES("https://www.minecraftcapes.co.uk/getEars/%s", CapeUrlType.UUID);
|
MINECRAFTCAPES("https://minecraftcapes.net/profile/%s/ears", CapeUrlType.UUID);
|
||||||
|
|
||||||
public static final EarsProvider[] VALUES = values();
|
public static final EarsProvider[] VALUES = values();
|
||||||
private String url;
|
private String url;
|
||||||
|
|
Loading…
Reference in a new issue