TomGrobbe / MenuAPI

FiveM C# Menu API. Designed specifically as a replacement of NativeUI for vMenu. Full safezone scaling supported, both left and right aligned menus supported.
https://docs.vespura.com/mapi
62 stars 45 forks source link

Exception during Executing Post callback: NullRefernceException #12

Closed GNimrodG closed 5 years ago

GNimrodG commented 5 years ago

https://github.com/TomGrobbe/MenuAPI/blob/6f2a449a48300bd754bcfc748d9065935c329cf9/MenuAPI/Menu.cs#L1108 image If I create a menu without a subtitle and I put more than 10 MenuItems in it then I get this error constantly if I'm in that menu.

TomGrobbe commented 5 years ago

@GNG2017 Good find, never ran into this myself I guess because all my menus have subtitles. I’ll change it later, thank you!

TomGrobbe commented 5 years ago

Should be fixed in referenced commit above.