{"action":"created","issue":{"url":"https://api.github.com/repos/fang2hou/ElvUI_WindTools/issues/34","repository_url":"https://api.github.com/repos/fang2hou/ElvUI_WindTools","labels_url":"https://api.github.com/repos/fang2hou/ElvUI_WindTools/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/fang2hou/ElvUI_WindTools/issues/34/comments","events_url":"https://api.github.com/repos/fang2hou/ElvUI_WindTools/issues/34/events","html_url":"https://github.com/fang2hou/ElvUI_WindTools/issues/34","id":354587868,"node_id":"MDU6SXNzdWUzNTQ1ODc4Njg=","number":34,"title":"关于模块的开关设置","user":{"login":"someblu","id":11556675,"node_id":"MDQ6VXNlcjExNTU2Njc1","avatar_url":"https://avatars1.githubusercontent.com/u/11556675?v=4","gravatar_id":"","url":"https://api.github.com/users/someblu","html_url":"https://github.com/someblu","followers_url":"https://api.github.com/users/someblu/followers","following_url":"https://api.github.com/users/someblu/following{/other_user}","gists_url":"https://api.github.com/users/someblu/gists{/gist_id}","starred_url":"https://api.github.com/users/someblu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/someblu/subscriptions","organizations_url":"https://api.github.com/users/someblu/orgs","repos_url":"https://api.github.com/users/someblu/repos","events_url":"https://api.github.com/users/someblu/events{/privacy}","received_events_url":"https://api.github.com/users/someblu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-08-28T06:26:27Z","updated_at":"2018-09-02T05:54:58Z","closed_at":null,"author_association":"COLLABORATOR","body":"[curseforge](https://wow.curseforge.com/projects/elvui_windtools)上的一名用户``Cather520``指出：\r\n```\r\n I have use ElvUI Enhanced Again (BfA) but I have closed windstools minibutton. \r\nshould I close it in lua? THX.\r\n我有使用同樣是ELV的額外插件 ElvUI Enhanced Again (BfA)\r\n不過我有關閉WINDSTOOL的迷你按鈕功能 還是會跳錯誤\r\n```\r\n相关报错：\r\n```\r\n8x ...ElvUI_WindTools\\Modules\\MinimapButtons.lua:10: Usage: NewModule(name, [prototype, [lib, lib, lib, ...]): 'name' - Module 'MinimapButtons' already exists.\r\n[C]: ?\r\nElvUI\\Libraries\\AceAddon-3.0\\AceAddon-3.0-12.lua:270: in function `NewModule'\r\n...ElvUI_WindTools\\Modules\\MinimapButtons.lua:10: in main chunk\r\n\r\nLocals:\r\n(*temporary) = \"Usage: NewModule(name, [prototype, [lib, lib, lib, ...]): 'name' - Module 'MinimapButtons' already exists.\"\r\n```\r\n这其实是windtools所有模块存在的问题，即使在设置面板中关闭了相应模块，windtools依然会新建和载入相应模块，只是不启用相关功能而已。"},"comment":{"url":"https://api.github.com/repos/fang2hou/ElvUI_WindTools/issues/comments/417907102","html_url":"https://github.com/fang2hou/ElvUI_WindTools/issues/34#issuecomment-417907102","issue_url":"https://api.github.com/repos/fang2hou/ElvUI_WindTools/issues/34","id":417907102,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzkwNzEwMg==","user":{"login":"someblu","id":11556675,"node_id":"MDQ6VXNlcjExNTU2Njc1","avatar_url":"https://avatars1.githubusercontent.com/u/11556675?v=4","gravatar_id":"","url":"https://api.github.com/users/someblu","html_url":"https://github.com/someblu","followers_url":"https://api.github.com/users/someblu/followers","following_url":"https://api.github.com/users/someblu/following{/other_user}","gists_url":"https://api.github.com/users/someblu/gists{/gist_id}","starred_url":"https://api.github.com/users/someblu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/someblu/subscriptions","organizations_url":"https://api.github.com/users/someblu/orgs","repos_url":"https://api.github.com/users/someblu/repos","events_url":"https://api.github.com/users/someblu/events{/privacy}","received_events_url":"https://api.github.com/users/someblu/received_events","type":"User","site_admin":false},"created_at":"2018-09-02T05:54:58Z","updated_at":"2018-09-02T05:54:58Z","author_association":"COLLABORATOR","body":"我记得有个E.db.windtools.[module]的报错，是首次安装更新后产生的，源于core.lua中\r\n```Lua\r\n-- 转换旧的数据, 经过一两个小版本迭代后可以考虑删除\r\nif E.db.WindTools[feature_name] then\r\n\tE.db.WindTools[module_name][feature_name] = E.db.WindTools[feature_name]\r\n\tE.db.WindTools[feature_name] = nil\r\nend\r\n```\r\n首次加载不生效，但是重载就可以了。。。"}}
{"actor":{"display_login":"someblu"}}