NightMarket v1.18.1 - Patch & QoL Update This update addresses a critical bug with the purchase confirmation menu and introduces new quality-of-life features for greater customization.
Bug Fixes
Confirmation Buttons Unresponsive: Fixed a critical bug where the "Confirm" and "Cancel" buttons in the purchase confirmation menu would not work. The issue was caused by an unreliable method of detecting button clicks based on item similarity. The logic has been updated to use a much more reliable slot-based detection, ensuring that player clicks on these buttons are now correctly registered every time.
✨ Features & Improvements
Custom Model Data for Global Items:
You can now apply custom_model_data to the main placeholder items directly in config.yml. This allows for unique textures on your server's resource pack.
The following items now support this feature:
global_placeholder_item
global_purchased_item_display
global_out_of_stock_item_display
Multi-Slot Confirmation Buttons:
The confirm_button and cancel_button in the confirmation menu now support multiple slots.
You can now define a list of slots in gui.yml (e.g., slots: [19, 20, 21]) to create larger or custom-shaped buttons, improving the user experience.