Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Mark new methodmap natives as optional #867
This makes the error message cleaner in case topmenus aren't loaded and won't prevent plugins from loading if they're supposed to have an optional dependency.
The `TopMenu` methodmap natives weren't marked as optional if the extension was optional like the other normal natives. The `Regex` natives weren't marked as optional at all before if the regex extension was included optionally. This makes the error message cleaner in case topmenus aren't loaded. ``` adminmenu.smx (Admin Menu): Required extension "TopMenus" file("topmenus.ext") not running basebans.smx (Basic Ban Commands): Native "TopMenu.Display" was not found ```