1
0
Fork 0
mirror of https://github.com/haselkern/Minecraft-ArmorStand.git synced 2025-05-17 15:05:33 +00:00

Fix give code option in equipment not working

Fixes #29
This commit is contained in:
thelennylord 2020-10-30 01:24:16 +05:30 committed by GitHub
parent 3d93a6b9f2
commit eb1fcac850
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -760,7 +760,7 @@ function getHeadItem(){
if (mcVersion == "1.8" || mcVersion == "1.10" || mcVersion == "1.11") {
return '{id:"skull",Count:1b,Damage:3b,tag:{'+parsed+'}}';
} else if (mcVersion == "1.13") {
} else {
return '{id:"player_head",Count:1b,tag:{'+parsed+'}}';
}
}
@ -771,7 +771,7 @@ function getHeadItem(){
skullOwnerRaw = skullOwnerRaw.substring(0, skullOwnerRaw.indexOf("}"));
if (mcVersion == "1.8" || mcVersion == "1.10" || mcVersion == "1.11") {
return '{id:"skull",Count:1b,Damage:3b,tag:{'+skullOwnerRaw+'}}';
} else if (mcVersion == "1.13") {
} else {
return '{id:"player_head",Count:1b,tag:{'+skullOwnerRaw+'}}';
}
}