1
0
mirror of https://github.com/GeyserMC/Rainbow.git synced 2025-12-19 14:59:16 +00:00

Actually use GUI display_context case as fallback

This commit is contained in:
Eclipse
2025-07-19 09:05:37 +00:00
parent babad0098b
commit e6a79258eb

View File

@@ -173,6 +173,8 @@ public class BedrockItemMapper {
ItemModel gui = cases.get(ItemDisplayContext.GUI);
if (gui != null) {
context.reporter.report(() -> "unsupported select model property display_context, only mapping \"gui\" case");
mapItem(gui, context.child("select GUI display_context case (unsupported property) "));
return;
}
}
context.reporter.report(() -> "unsupported select model property " + property + ", only mapping fallback");