Open xap3y opened 6 months ago
How did you do the override?
I had a look at the linked class and it seems a bit difficult to configure so I may update it to provide more customization options.
I pasted the whole class here: https://gist.github.com/xap3y/1249939421c0ff89bb12f237907cbfc8 It is Kotlin not Java but it should be understandable
Is there a way to handle all inventory click event click types inside the SGButton withListener? The event will allow only LEFT and RIGHT click types here but i want to also handle SHIFT_LEFT or SHIFT_RIGHT. I tried to override the SGMenuListener onInventoryClick but it was firing both events