CosimoTiger / plugin-utilities

A library with essential utilities for developing Spigot plugins.
MIT License
0 stars 1 forks source link

Fix MenuManager generics preventing AbstractMenu.open from being compiled #16

Closed CosimoTiger closed 2 weeks ago

CosimoTiger commented 2 weeks ago

e.g. new Menu().open(new MenuManager<Menu>(), player) or similar example won't compile because the AbstractMenu.open MenuManager parameter's generic type is weirdly written and I don't know how to define it correctly in a way that enables self-menu referencing.

CosimoTiger commented 2 weeks ago

Fixed by #18