Crafting station preview shows level-item MMOItems at level 0 instead of the player's level
When a crafting station preview displays an MMOItem with: option: level-item: true the preview shows the item as level 0 instead of generating it using the current player's level. This seems to affect the crafting station preview GUI only. The issue is that the preview item is built without player context, so level-item falls back to level 0. Steps to reproduce Create an MMOItem with: option: level-item: true Use that item as the output of a crafting station recipe, or as the target item in an upgrading recipe. Open the crafting station as a player with a non-zero level. Check the recipe preview / right-click preview GUI. Actual behavior The previewed item is shown as level 0. Expected behavior The preview should generate the item using the player opening the crafting station, so the displayed level matches the player's level logic used by level-item. Why this matters The preview is misleading for players, because the crafted/upgraded item scales with player level, but the GUI displays a level 0 version instead. Suggested fix Make crafting station previews player-aware and pass the current RPGPlayer / player context when generating preview items, instead of building preview MMOItems with null player context.
issue