- Added Observer channel for Raid Tools, it only reports the cooldown/interrupt/death to you in your chat window.
- More updates on the new plugin Raid Check.
This commit is contained in:
+17
-1
@@ -23,7 +23,7 @@
|
||||
if (PluginAbsoluteName) then
|
||||
local plugin = _detalhes.plugin_database [PluginAbsoluteName]
|
||||
if (plugin) then
|
||||
return plugin.__enabled
|
||||
return plugin.enabled
|
||||
end
|
||||
else
|
||||
return self.__enabled
|
||||
@@ -37,6 +37,22 @@
|
||||
return self.__description
|
||||
end
|
||||
|
||||
function _detalhes:DisablePlugin (AbsoluteName)
|
||||
local plugin = _detalhes:GetPlugin (AbsoluteName)
|
||||
|
||||
if (plugin) then
|
||||
local saved_table = _detalhes:GetPluginSavedTable (AbsoluteName)
|
||||
|
||||
saved_table.enabled = false
|
||||
plugin.__enabled = false
|
||||
|
||||
_detalhes:SendEvent ("PLUGIN_DISABLED", plugin)
|
||||
|
||||
_detalhes:DelayOptionsRefresh()
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
||||
function _detalhes:CheckDefaultTable (current, default)
|
||||
for key, value in pairs (default) do
|
||||
if (type (value) == "table") then
|
||||
|
||||
Reference in New Issue
Block a user