Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-19 14:30:17 +01:00
Update MinecraftCapes endpoints (#907)
Updates the mccapes endpoints with the new domain.
Dieser Commit ist enthalten in:
Ursprung
66570a623d
Commit
3cdc208174
@ -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;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren