The MHAddonRegistry now maps all addons to their addons classes, and it actually registers the MHProviderManagers now.
Renamed MHProviderAddonManager to MHProviderManager.
Updated the speedrunner and hunter commands to check for an ongoing game and they now correctly output the current team when using `get`. The `-s` argument has also been fixed for the hunter command and it should now work properly.
New addon loading / registration system. On the surface, this may not look like a big change. The old way of registering addons still works, but the `ManhuntAddon` annotation has been changed to `MHAddonProvider`. This allows you to use the `otherAddons` field in the annotation to simply register multiple addons from one plugin. You can now also dynamically register addons by capturing the `MHPluginAddonManager` in a static field when `mh_provide(MHPluginAddonManager)` is invoked, by doing this;
Code (Java):
publicstatic MHPluginAddonManager manager
;
publicvoid mh_provide
(MHPluginAddonManager m
){ manager
= m
; }
Compass event bugs fixed and signature changed; There was a bug in the passing of the compass ItemStack to the method, which was fixed and the method now uses a CompassInterface which allows you to modify the final used values.
Fixed encoding issues; Since I moved my project over to Gradle it had some encoding issues with special characters like the double arrow (»). These have been resolved thanks to StackOverflow post https://stackoverflow.com/a/34717160/14837740.