commit
4d9f398ffa
|
@ -112,7 +112,7 @@ public abstract class AbstractClientPlayerMixin implements AbstractClientPlayerE
|
|||
(new Thread("CustomSkinThread") {
|
||||
public void run() {
|
||||
Client.logger.info(String.format("Downloading Custom Skin (%s)", silent$nameClear));
|
||||
customSkin.setImage(SCTextureManager.getImage("https://cdn-test.silentclient.net/file/silentclient/skins/" + silent$nameClear.toLowerCase() + ".png"));
|
||||
customSkin.setImage(SCTextureManager.getImage("https://cdn-test.silentclient.net/file/silentclient/" + silent$account.getCustomSkinPath()));
|
||||
CustomSkin.loading = false;
|
||||
customSkin.setLoaded(true);
|
||||
Client.logger.info(String.format("Custom Skin downloaded! (%s)", silent$nameClear));
|
||||
|
|
|
@ -66,6 +66,7 @@ public class PlayerResponse extends AbstractReply {
|
|||
public int is_jr_admin;
|
||||
public int is_tester_manager;
|
||||
public BigInteger discord_id;
|
||||
public String custom_skin_path;
|
||||
|
||||
public int getPlusExpiration() {
|
||||
if(plus_expiration != null) {
|
||||
|
@ -429,6 +430,10 @@ public class PlayerResponse extends AbstractReply {
|
|||
|
||||
}
|
||||
|
||||
public String getCustomSkinPath() {
|
||||
return custom_skin_path;
|
||||
}
|
||||
|
||||
public Cosmetics getCosmetics() {
|
||||
return cosmetics;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue