Odalita-Developments / OdalitaMenus

Advanced yet simple to use inventory api for Spigot plugins (1.16.5-1.21)
https://www.spigotmc.org/resources/110376/
MIT License
18 stars 2 forks source link

Per menu type inventory #8

Closed ItzKiwiSap closed 3 months ago

ItzKiwiSap commented 5 months ago

In #6, someone observed that when opening an anvil menu, the menu property REPAIR_COST was not being applied. After conducting some tests, it was found that firstly, the properties were not being set correctly in the inventories. Secondly, certain inventory types require a special menu to properly handle certain events. For example, in the case of an anvil menu, to extract the text written for renaming an item and the repair cost property.

Solution: