Initial TWW compatibility

This commit is contained in:
2024-06-22 18:14:41 -05:00
parent 1792dac5e5
commit dd746f2800

View File

@ -508,7 +508,11 @@ function Breakables:OnDisable()
end
function Breakables:OnSlashCommand(input)
InterfaceOptionsFrame_OpenToCategory(self.optionsFrame)
if InterfaceOptionsFrame_OpenToCategory then
InterfaceOptionsFrame_OpenToCategory(self.optionsFrame)
else
Settings.OpenToCategory("Breakables")
end
end
function Breakables:OnItemReceived(event, bag)