alexguirre / RAGENativeUI

MIT License
115 stars 38 forks source link

UIMenuListItem get Data Problem #45

Closed ProfessorBenji closed 4 years ago

ProfessorBenji commented 4 years ago

when I want to get informations from an UIMenuListItem the plugin crashes...

My Code: job = jobList.Collection[jobList.Index].Value.ToString();

job is a String jobList is an UIMenuItem with the following params: jobList = new UIMenuListItem("Job", new List<dynamic> { "Rettungshelfer", "Rettungssanitäter" }, 0);

I know the jobList constructor I use will be removed soon but it should work anyway at the moment.

Please send help :)

Greetings

Benjamin