[notabug] GetAddOnVersion only works with libraries
When an addon declares that it is a library
Code:
## IsLibrary: true
then the value reported for
Code:
AddOnVersion:
in the manifest file is returned by GetAddOnVersion().
If IsLibrary is set to false, then GetAddOnVersion() always returns 0 even when an AddOnVersion is provided.