forked from MinecraftUtilities/Backend
change head default size
This commit is contained in:
parent
86029e1b1f
commit
29c842aaf8
@ -61,7 +61,7 @@ public class Skin {
|
|||||||
public Skin populatePartUrls(String playerUuid) {
|
public Skin populatePartUrls(String playerUuid) {
|
||||||
for (Parts part : Parts.values()) {
|
for (Parts part : Parts.values()) {
|
||||||
String partName = part.name().toLowerCase();
|
String partName = part.name().toLowerCase();
|
||||||
this.partUrls.put(partName, Config.INSTANCE.getWebPublicUrl() + "/player/" + partName + "/" + playerUuid + "?size=250");
|
this.partUrls.put(partName, Config.INSTANCE.getWebPublicUrl() + "/player/" + partName + "/" + playerUuid + "?size=" + part.getDefaultSize());
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -73,7 +73,7 @@ public class Skin {
|
|||||||
@Getter @AllArgsConstructor
|
@Getter @AllArgsConstructor
|
||||||
public enum Parts {
|
public enum Parts {
|
||||||
|
|
||||||
HEAD(8, 8, 8, 8, 250);
|
HEAD(8, 8, 8, 8, 128);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The x and y position of the part.
|
* The x and y position of the part.
|
||||||
|
@ -16,7 +16,6 @@ import java.util.List;
|
|||||||
|
|
||||||
@Getter @NoArgsConstructor
|
@Getter @NoArgsConstructor
|
||||||
public class MojangProfile {
|
public class MojangProfile {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The UUID of the player.
|
* The UUID of the player.
|
||||||
*/
|
*/
|
||||||
@ -52,7 +51,7 @@ public class MojangProfile {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the formatted UUID of the player.
|
* Gets the formatted UUID of the player.
|
||||||
*
|
*
|
||||||
* @return the formatted UUID
|
* @return the formatted UUID
|
||||||
*/
|
*/
|
||||||
public String getFormattedUuid() {
|
public String getFormattedUuid() {
|
||||||
|
Loading…
Reference in New Issue
Block a user