bug: craft button visible when materials are insufficient #128

Closed
opened 2026-03-24 11:48:18 -07:00 by hikari · 0 comments
Owner

Description

The craft button is visible and clickable even when the player does not have enough materials to craft the recipe. The server correctly rejects the request, but the client should be disabling or hiding the button when requirements aren't met.

Steps to Reproduce

  1. Have fewer materials than required for a recipe (e.g. 3 verdant_sap when 5 are needed)
  2. Observe that the craft button is still visible/clickable
  3. Click the button — server returns 400 with Not enough <material> (need X, have Y)

Expected Behaviour

The craft button should be disabled (or hidden) when the player does not have sufficient materials.

Error

craft_recipe Not enough verdant_sap (need 5, have 3)
Error: Not enough verdant_sap (need 5, have 3)

This issue was created with help from Hikari~ 🌸

## Description The craft button is visible and clickable even when the player does not have enough materials to craft the recipe. The server correctly rejects the request, but the client should be disabling or hiding the button when requirements aren't met. ## Steps to Reproduce 1. Have fewer materials than required for a recipe (e.g. 3 `verdant_sap` when 5 are needed) 2. Observe that the craft button is still visible/clickable 3. Click the button — server returns 400 with `Not enough <material> (need X, have Y)` ## Expected Behaviour The craft button should be disabled (or hidden) when the player does not have sufficient materials. ## Error ``` craft_recipe Not enough verdant_sap (need 5, have 3) Error: Not enough verdant_sap (need 5, have 3) ``` ✨ This issue was created with help from Hikari~ 🌸
naomi closed this issue 2026-03-24 13:20:37 -07:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nhcarrigan/elysium#128