Support new method of feature registration #1
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch ":main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Starting with Mod Organizer 2.5.1, the
_featureMap
dict has been removed in lieu of the_register_feature
method.This PR's changes attempt to support both methods of registering features, allowing this plugin to be used on both Mod Organizer 2.5.1 and later, as well as versions prior to 2.5.1.
I've tested this change locally, and it works as expected on my machine, at the very least.
I am aware that it might seem odd, or even a bit rude, for me to just open a PR right off the bat like this, but this fix was so simple that I thought it didn't warrant much discussion, to be frank.
Did not see this until today. Thanks for the patch, will be sure to update the spt page with it.
And no, not rude at all, very welcome in fact. 🫡