Fix Skull in pandalib-paper
This commit is contained in:
parent
e16e294ff7
commit
6e4ec629b0
@ -135,7 +135,7 @@ public enum Skull {
|
|||||||
* @return itemstack
|
* @return itemstack
|
||||||
*/
|
*/
|
||||||
public static ItemStack getFromSkinURL(String url, Chat name, List<Chat> lore) {
|
public static ItemStack getFromSkinURL(String url, Chat name, List<Chat> lore) {
|
||||||
return getFromBase64String(Base64.getEncoder().encodeToString(String.format("{textures:{SKIN:{url:\"%s\"}}}", url).getBytes()), name, lore);
|
return getFromBase64String(Base64.getEncoder().encodeToString(String.format("{\"textures\":{\"SKIN\":{\"url\":\"%s\"}}}", url).getBytes()), name, lore);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user