Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-26 16:12:46 +01:00
Fix player heads with a custom name (#1625)
Dieser Commit ist enthalten in:
Ursprung
2c0f3ec84d
Commit
2f294c9466
@ -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");
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren