Skip to content

Commit 75f3f2c

Browse files
committed
Fix: right-click events for custom skulls
Resolves #5923
1 parent 5e7ce45 commit 75f3f2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/main/java/org/geysermc/geyser/translator/item/ItemTranslator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -530,10 +530,10 @@ public static ItemDefinition getBedrockItemDefinition(GeyserSession session, @No
530530
}
531531

532532
if (mapping.getJavaItem().equals(Items.PLAYER_HEAD)) {
533-
/*CustomSkull customSkull = getCustomSkull(itemStack.getComponent(DataComponentTypes.PROFILE));
533+
CustomSkull customSkull = getCustomSkull(itemStack.getComponent(DataComponentTypes.PROFILE));
534534
if (customSkull != null) {
535535
itemDefinition = session.getItemMappings().getCustomBlockItemDefinitions().get(customSkull.getCustomBlockData());
536-
}*/ // TODO
536+
}
537537
}
538538

539539
ItemDefinition definition = CustomItemTranslator.getCustomItem(itemStack.getComponents(), mapping);

0 commit comments

Comments
 (0)