Fixed bug when saving mod with no common resources/plugins