mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-12-20 15:29:27 +00:00
Fix: right-click events for custom skulls
Resolves https://github.com/GeyserMC/Geyser/issues/5923
This commit is contained in:
@@ -530,10 +530,10 @@ public final class ItemTranslator {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (mapping.getJavaItem().equals(Items.PLAYER_HEAD)) {
|
if (mapping.getJavaItem().equals(Items.PLAYER_HEAD)) {
|
||||||
/*CustomSkull customSkull = getCustomSkull(itemStack.getComponent(DataComponentTypes.PROFILE));
|
CustomSkull customSkull = getCustomSkull(itemStack.getComponent(DataComponentTypes.PROFILE));
|
||||||
if (customSkull != null) {
|
if (customSkull != null) {
|
||||||
itemDefinition = session.getItemMappings().getCustomBlockItemDefinitions().get(customSkull.getCustomBlockData());
|
itemDefinition = session.getItemMappings().getCustomBlockItemDefinitions().get(customSkull.getCustomBlockData());
|
||||||
}*/ // TODO
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ItemDefinition definition = CustomItemTranslator.getCustomItem(itemStack.getComponents(), mapping);
|
ItemDefinition definition = CustomItemTranslator.getCustomItem(itemStack.getComponents(), mapping);
|
||||||
|
|||||||
Reference in New Issue
Block a user