forked from GeyserMC/Geyser
Fix player heads with a custom name (#1625)
This commit is contained in:
parent
2c0f3ec84d
commit
2f294c9466
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ public class PlayerHeadTranslator extends NbtItemStackTranslator {
|
|||
|
||||
@Override
|
||||
public void translateToBedrock(GeyserSession session, CompoundTag itemTag, ItemEntry itemEntry) {
|
||||
if (!itemTag.contains("display") || !((CompoundTag) itemTag.get("display")).contains("name")) {
|
||||
if (!itemTag.contains("display") || !((CompoundTag) itemTag.get("display")).contains("Name")) {
|
||||
if (itemTag.contains("SkullOwner")) {
|
||||
StringTag name;
|
||||
Tag skullOwner = itemTag.get("SkullOwner");
|
||||
|
|
Loading…
Reference in a new issue